Home
last modified time | relevance | path

Searched defs:new_shape (Results 1 – 25 of 36) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_layout_assignment.cc81 Shape new_shape(old_shape); in RowMajorShape() local
89 Shape new_shape(old_shape); in ColMajorShape() local
/external/tensorflow/tensorflow/lite/
Dstring_util_test.cc57 auto new_shape = TfLiteIntArrayCreate(2); in TEST() local
147 auto new_shape = TfLiteIntArrayCreate(2); in TEST() local
Dstring_util.cc106 TfLiteIntArray* new_shape) { in WriteToTensor()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dcudnn_conv_pad_for_tensor_cores.cc46 const Shape& new_shape) { in PadInstruction()
185 const Shape& new_shape) { in PadForTensorCores()
Dvariadic_op_splitter.cc58 Shape new_shape = concat->shape(); in SplitConcatenate() local
Dcudnn_conv_rewriter.cc472 Shape new_shape = rhs->shape(); in MatchBackwardInput() local
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
Dshape_op.cc139 std::vector<int64> new_shape(existing_dims_size); in Compile() local
172 std::vector<int64> new_shape; in Compile() local
Ddynamic_stitch_op.cc154 TensorShape new_shape; in Compile() local
/external/tensorflow/tensorflow/python/ops/
Dspecial_math_ops.py420 def _reshape_if_necessary(tensor, new_shape): argument
Dsparse_ops.py1710 def sparse_reset_shape(sp_input, new_shape=None): argument
/external/tensorflow/tensorflow/compiler/xla/service/
Dhlo_element_type_converter.cc196 Shape new_shape = GetConvertedTupleShape(hlo->shape(), eliminate_type_, in Run() local
Dreshape_mover.cc142 const Shape new_shape = in UpdateOperand() local
Dhlo_creation_utils.cc116 Shape new_shape = ShapeUtil::MakeShape(operand->shape().element_type(), in MakeReshapeHlo() local
358 Shape new_shape = ShapeUtil::MakeShape(operand->shape().element_type(), in ExpandFirstDimIntoNDims() local
Dscatter_expander.cc64 auto new_shape = in CanonicalizeScatterIndices() local
/external/tensorflow/tensorflow/core/grappler/optimizers/data/vectorization/
Dcwise_op_vectorizer.cc100 Output new_shape = ops::Concat(scope, {concat_pre, ones, concat_post}, in ExpandDimsForBroadcast() local
/external/tensorflow/tensorflow/core/framework/
Dshape_inference.h247 ShapeHandle new_shape; in MergeInput() local
279 ShapeHandle new_shape; in RelaxInput() local
/external/tensorflow/tensorflow/core/kernels/
Dshape_ops.h202 std::vector<int64> new_shape; in Compute() local
/external/tensorflow/tensorflow/contrib/distributions/python/ops/
Dbatch_reshape.py373 def calculate_reshape(original_shape, new_shape, validate=False, name=None): argument
/external/tensorflow/tensorflow/core/common_runtime/
Dbase_collective_executor.cc108 TensorShape new_shape = TensorShape({old_shape_.num_elements()}); in Flatten() local
/external/tensorflow/tensorflow/core/ops/
Dsparse_ops.cc371 ShapeHandle new_shape; in __anona7ffb82a1002() local
Darray_ops_test.cc871 Tensor new_shape = test::AsTensor<int32>({1, 2, 3}); in TEST() local
926 Tensor new_shape = test::AsTensor<int32>({1, 2, 3}); in TEST() local
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dir_array.cc411 IrArray IrArray::CastToShape(const Shape& new_shape, in CastToShape()
/external/tensorflow/tensorflow/lite/core/api/
Dflatbuffer_conversions.cc459 auto* new_shape = schema_params->new_shape(); in ParseOpData() local
/external/tensorflow/tensorflow/core/grappler/clusters/
Dsingle_machine_test.cc163 auto new_shape = ops::Const(root.WithOpName("new_shape"), {3, -1}, {2}); in TEST_F() local
/external/tensorflow/tensorflow/compiler/xla/
Dshape_util.cc764 Shape new_shape = original; in ChangeElementType() local
932 Shape new_shape = shape; in PermuteDimensions() local

12