21 references to GetDenseSliceDimension
System.Numerics.Tensors (21)
System\Numerics\Tensors\netcore\Tensor.cs (4)
556
? TensorOperation.
GetDenseSliceDimension
(destination._shape, destination._shape)
617
? TensorOperation.
GetDenseSliceDimension
(destination._shape, destination._shape)
1931
int dimension = TensorOperation.
GetDenseSliceDimension
(destination._shape, destination._shape);
2306
? TensorOperation.
GetDenseSliceDimension
(tensor._shape, alignedOther._shape)
System\Numerics\Tensors\netcore\TensorOperation.cs (17)
107
int sourceDimension = source.IsDense ? -1 :
GetDenseSliceDimension
(source._shape, source._shape);
126
int destinationDimension =
GetDenseSliceDimension
(destination._shape, destination._shape);
163
int sourceDimension = input.IsDense ? -1 :
GetDenseSliceDimension
(input._shape, input._shape);
164
int destinationDimension = destination.IsDense ? -1 :
GetDenseSliceDimension
(destination._shape, destination._shape);
514
int dimension =
GetDenseSliceDimension
(x._shape, x._shape);
623
if (
GetDenseSliceDimension
(x._shape, x._shape) is int dimension && dimension >= 0)
703
int dimension =
GetDenseSliceDimension
(optimizedX._shape, destinationShape, optimizedY._shape, MinSlicedBinaryOperationLength);
816
int dimension =
GetDenseSliceDimension
(x._shape, x._shape);
874
if (
GetDenseSliceDimension
(destination._shape, destination._shape) is int dimension && dimension >= 0)
952
int dimension =
GetDenseSliceDimension
(optimizedSource._shape, destination._shape);
1040
?
GetDenseSliceDimension
(x._shape, x._shape)
1096
int dimension =
GetDenseSliceDimension
(x._shape, x._shape);
1174
int dimension =
GetDenseSliceDimension
(optimizedX._shape, destination._shape, optimizedY._shape, MinSlicedBinaryOperationLength);
1249
int dimension =
GetDenseSliceDimension
(optimizedX._shape, destinationShape, optimizedY._shape, MinSlicedBinaryOperationLength);
1309
int dimension =
GetDenseSliceDimension
(optimizedSource._shape, destination._shape);
1366
int dimension =
GetDenseSliceDimension
(optimizedSource._shape, destination._shape);
1422
int dimension =
GetDenseSliceDimension
(x._shape, x._shape);