features.py
computeFeatures_torch(I1, I2, I3):
Transforms the three principal invariants of the Cauchy-Green deformation tensor into mixed-deviatoric-volumetric invariants and returns them in a concatenated array.
Input Arguments
-
I1
- 1st invariant -
I2
- 2nd invariant -
I3
- 3rd invariant
Output Arguments
x
-
getNumberOfFeatures():
Compute number of features.
Input Arguments
- none
Output Arguments
features.shape[1]
- number of features