Home
last modified time | relevance | path

Searched refs:InsertDim (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dlower_upper_bound_ops.cc50 new_values_shape.InsertDim(/* d */ 2, /* size */ 1); in BuildLowerUpperBoundOp()
56 new_sorted_inputs_shape.InsertDim(/* d */ 1, /* size */ 1); in BuildLowerUpperBoundOp()
Dpack_op.cc75 child_shape.InsertDim(axis, 1); in Compile()
Dsegment_reduction_ops.cc83 buffer_shape.InsertDim(0, num_segments); in Compile()
Dstack_ops.cc153 slice_shape.InsertDim(0, 1LL); in Compile()
Dtensor_array_ops.cc116 shape->InsertDim(0, resource->max_array_size()); in GetTensorArrayShape()
220 slice_shape.InsertDim(0, 1LL); in Compile()
/external/tensorflow/tensorflow/core/kernels/
Dpad_op.cc163 collapsed_input_shape->InsertDim(collapsed_input_shape->dims(), in CollapseAdjacentNonPaddedDimensions()
165 collapsed_output_shape->InsertDim(collapsed_output_shape->dims(), in CollapseAdjacentNonPaddedDimensions()
182 collapsed_input_shape->InsertDim(collapsed_input_shape->dims(), in CollapseAdjacentNonPaddedDimensions()
184 collapsed_output_shape->InsertDim(collapsed_output_shape->dims(), in CollapseAdjacentNonPaddedDimensions()
Dpack_op.cc63 output_shape.InsertDim(axis, num); in Compute()
Done_hot_op.cc91 output_shape.InsertDim(axis, depth_v); in Compute()
Dmap_kernels.h199 output_shape.InsertDim(0, map->tensors().size()); in Compute()
Dlist_kernels.h115 output_shape.InsertDim(0, tensor_list->tensors().size()); in Compute()
417 output_shape.InsertDim(0, leading_dim); in Compute()
596 output_shape.InsertDim(0, indices.NumElements()); in Compute()
Dtensor_array_ops.cc647 empty_shape.InsertDim(0, 0); in Compute()
668 output_shape.InsertDim(0, num_indices); in Compute()
851 empty_shape.InsertDim(0, 0); in Compute()
Dbarrier_ops.cc163 component_shape.InsertDim(0, insertion_size); in TryInsertMany()
/external/tensorflow/tensorflow/core/framework/
Dtensor_shape_test.cc274 void InsertDim(int d, int64 size);
440 void TensorShapeOld::InsertDim(int d, int64 size) { in InsertDim() function in tensorflow::__anon127dd62f0111::TensorShapeOld
580 s.InsertDim(dim, sz); in TEST()
581 sold.InsertDim(dim, sz); in TEST()
Dtensor_shape.h222 void InsertDim(int d, int64 size);
Dtensor_shape.cc506 void TensorShapeBase<Shape>::InsertDim(int d, int64 size) { in InsertDim() function in tensorflow::TensorShapeBase
/external/tensorflow/tensorflow/core/tpu/kernels/xla/
Dsegment_reduction_ops.cc73 buffer_shape.InsertDim(0, num_segments); in Compile()
/external/tensorflow/tensorflow/core/kernels/data/
Dmap_defun_op.cc149 actual_shape.InsertDim(0, compute_opts_->batch_size); in SetRetval()
300 output_shape.InsertDim(0, opts->batch_size); in SetupOutputs()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/convert/
Dutils.h166 shape->InsertDim(0, batch_size.value());
Dutils.cc201 shape->InsertDim(0, batch_size.value()); in TrtDimsToTensorShape()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dxla_helpers.cc93 output_shape.InsertDim(axis, depth); in OneHot()
/external/tensorflow/tensorflow/core/kernels/mlir_generated/
Dbase_binary_ops_test.h218 expected_shape.InsertDim(0, 1); in TestOneEffectiveScalar()
/external/tensorflow/tensorflow/core/util/
Dexample_proto_fast_parsing.cc2501 total_shape.InsertDim(0, -1); in ParseSequenceDenseFeatures()