Skip to content

Commit

Permalink
add edm4eic::Tensor
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl committed Sep 19, 2024
1 parent 7a62748 commit 9693c91
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions edm4eic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,16 @@ components:

datatypes:

edm4eic::Tensor:
Description: "Tensor type for use in training in inference of ML models"
Author: "D. Kalinkin"
Members:
- int32_t elementType // Data type in the same encoding as "ONNXTensorElementDataType", 1 - float, 7 - int64
VectorMembers:
- int64_t shape // Vector of tensor lengths along its axes
- float floatData // Iff elementType==1, values are stored here
- int64_t int64Data // Iff elementType==7, values are stored here

## ==========================================================================
## Particle info
## ==========================================================================
Expand Down

0 comments on commit 9693c91

Please sign in to comment.