1 write to _tensorShape
Microsoft.ML.OnnxTransformer (1)
OnnxTransform.cs (1)
808
_tensorShape
= new OnnxShape(tensorShape);
5 references to _tensorShape
Microsoft.ML.OnnxTransformer (5)
OnnxTransform.cs (5)
812
_denominator =
_tensorShape
.Where(x => x > 0).Aggregate((a, x) => a * x);
813
_zeroIndex =
_tensorShape
.IndexOf(0);
836
return OnnxUtils.CreateNamedOnnxValue(_colName, _vBufferDense.GetValues(),
_tensorShape
);
843
_tensorShape
[_zeroIndex] = _vBufferDense.Length / _denominator;
844
return OnnxUtils.CreateNamedOnnxValue(_colName, _vBufferDense.GetValues(),
_tensorShape
);