Home
last modified time | relevance | path

Searched defs:dim_size (Results 1 – 25 of 44) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dshape_util.cc30 int64 dim_size = input_shape.dim_size(i); in TensorShapeToConstant() local
41 int64 dim_size = input_shape.dim_size(i); in TensorShapeToConstant() local
Dmirror_pad_op.cc47 int64 dim_size = original_shape.dimensions(dimno); in DoMirrorPad() local
132 int64 dim_size = original_shape.dimensions(dimno); in DoMirrorPadGrad() local
Dcross_op.cc52 for (auto dim_size : in0_shape.dim_sizes()) { in Compile() local
Dspmd_manual_sharding_ops.cc55 int64 dim_size = in Compile() local
Dstrided_slice_op.cc148 xla::XlaOp dim_size; in EmitDynamicSlice() local
452 xla::XlaOp dim_size = xla::Slice(ctx->Input(0), {i}, {i + 1}, {1}); in CompileAsDynamicUpdateSlice() local
577 auto dim_size = xla::Slice(dynamic_shape, {dim}, {dim + 1}, {1}); in Compile() local
Dwhile_op.cc527 int32 dim_size = shape.dimensions(0); in Compile() local
536 int32 dim_size = shape.dimensions(dim); in Compile() local
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_tensor_coding.cc101 int64 dim_size = val.shape().dim_size(d); in EncodeSkeleton() local
113 int64 dim_size = val.shape().dim_size(d); in EncodeSkeleton() local
/external/tensorflow/tensorflow/core/kernels/
Droll_op.cc81 gtl::InlinedVector<int32, 4> dim_size(num_dims); in Compute() local
122 const int num_dims, const gtl::ArraySlice<int32>& dim_size, in DoRoll()
186 const gtl::ArraySlice<int32>& dim_size, const T* input, in DoRollWithMemcpy()
Dshape_ops.h54 int64 dim_size = shape.dim_size(i); in Compute() local
83 int64 dim_size = shape.dim_size(j); in Compute() local
Droll_op_gpu.cu.cc35 const int32* __restrict__ dim_size, in RollKernel()
Dtranspose_op.cc158 const auto dim_size = input.dim_size(d); in Compute() local
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_op_kernel.h226 bool is_dynamic_dimension(int64 dim_size) { return dim_size == -1; } in is_dynamic_dimension()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dresolve_constant_slice.cc54 int dim_size = size[i]; in Slice() local
Didentify_nearest_upsample.cc197 const int dim_size = imagined_original_shape.size(); in Run() local
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dreduction_layout_normalizer.cc74 int64 dim_size = operand_shape.dimensions(logical_dim); in HandleReduce() local
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dshape_partition.cc116 const int64 dim_size = shape_.dimensions(dimensions_[i]); in ShapePartitionIterator() local
/external/tensorflow/tensorflow/core/grappler/utils/
Dsymbolic_shapes_test.cc34 for (int dim_size : dims) { in MakeShape() local
Dsymbolic_shapes.cc158 int64 dim_size = dim.size(); in CompareSymbolicallyShapedTensorSizes() local
/external/tensorflow/tensorflow/cc/experimental/base/public/
Dtensor.h131 inline int64_t Tensor::dim_size(int d) const { in dim_size() function
/external/tensorflow/tensorflow/python/lib/core/
Dndarray_tensor_bridge.cc189 Status ArrayFromMemory(int dim_size, npy_intp* dims, void* data, DataType dtype, in ArrayFromMemory()
/external/tensorflow/tensorflow/core/framework/
Dshape_inference_testutil.cc247 int64 dim_size = 0; in MakeShapeFromString() local
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlhlo_legalize_to_gpu.cc63 auto dim_size = shaped_type.getDimSize(0); in matchAndRewrite() local
/external/tensorflow/tensorflow/lite/tools/optimize/sparsity/
Dformat_converter.cc177 int dim_size = expanded_shape[original_dim_idx]; in DenseToSparse() local
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/
Dquantization_utils.cc271 void ExtractMinMaxFromAttr(DenseFPElementsAttr values, int dim_size, in ExtractMinMaxFromAttr()
356 int dim_size = shape[quant_dim]; in GetUniformQuantizedPerAxisTypeForWeight() local
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dexport_utils.cc114 for (auto dim_size : attr.getShape()) { in ConvertAttribute() local

12