1 write to _tensorShape
Microsoft.ML.OnnxTransformer (1)
OnnxTransform.cs (1)
879
_tensorShape
= new OnnxShape(tensorShape);
5 references to _tensorShape
Microsoft.ML.OnnxTransformer (5)
OnnxTransform.cs (5)
883
_denominator =
_tensorShape
.Where(x => x > 0).Aggregate((a, x) => a * x);
884
_zeroIndex =
_tensorShape
.IndexOf(0);
907
return OnnxUtils.CreateNamedOnnxValue(_colName, _vBufferDense.GetValues(),
_tensorShape
);
914
_tensorShape
[_zeroIndex] = _vBufferDense.Length / _denominator;
915
return OnnxUtils.CreateNamedOnnxValue(_colName, _vBufferDense.GetValues(),
_tensorShape
);