Home
last modified time | relevance | path

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

1234

/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dfusion_bitcast_lift.cc153 Shape new_shape = i->users()[0]->shape(); in Run() local
196 Shape new_shape = i->users()[0]->shape(); in Run() local
211 Shape new_shape = i->users()[0]->shape(); in Run() local
Dcudnn_pad_for_convolutions.cc43 const Shape& new_shape) { in PadInstruction()
258 const Shape& new_shape) { in TryResolvePaddedShapesForTensorCore()
428 const Shape& new_shape) { in TryResolvePaddedShapesForIntegerConvolution()
Dtriangular_solve_rewriter.cc48 Shape new_shape = ShapeUtil::MakeTupleShape({ in Run() local
Dcudnn_fused_conv_rewriter.cc171 Shape new_shape = conv->shape(); in FuseConvertToFloat() local
529 Shape new_shape = conv->shape(); in FuseConvertToF16() local
610 Shape new_shape = conv->shape(); in FuseConvertToS8() local
Dvariadic_op_splitter.cc58 Shape new_shape = concat->shape(); in SplitConcatenate() local
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dcpu_layout_assignment.cc82 Shape new_shape(old_shape); in RowMajorShape() local
90 Shape new_shape(old_shape); in ColMajorShape() local
/external/tensorflow/tensorflow/compiler/xla/service/
Dconvert_mover.cc138 Shape new_shape = instr->shape(); in MoveConvertPrecisionOps() local
179 Shape new_shape = to_convert->shape(); in MoveConvertPrecisionOps() local
Dchange_op_data_type.cc43 Shape new_shape = instr->shape(); in Run() local
Dconvolution_pred_expander.cc55 Shape new_shape = ShapeUtil::ChangeElementType(instruction->shape(), F16); in ExpandInstruction() local
Dconditional_canonicalizer.cc36 auto new_shape = ShapeUtil::MakeTupleShape(absl::MakeSpan(&root_shape, 1)); in CanonicalizeNonTupleConditional() local
Dbitcast_decomposer_test.cc48 Shape new_shape = ShapeUtil::MakeShapeWithLayout( in AllPermutationsOfShape() local
Dbitcast_decomposer.cc163 Shape new_shape = in Run() local
Dslice_sinker.cc171 Shape new_shape = ShapeUtil::ChangeElementType(shape, element_type); in SinkSlices() local
Dhlo_element_type_converter.cc205 Shape new_shape = GetConvertedTupleShape(hlo->shape(), eliminate_type_, in Run() local
Dconditional_simplifier.cc254 const Shape new_shape = ShapeUtil::MakeTupleShapeWithPtrs(new_tuple_shapes); in RemoveUnusedTupleElements() local
536 Shape new_shape = ShapeUtil::ChangeElementType(shape, PRED); in TryRemoveConditional() local
/external/tensorflow/tensorflow/lite/
Dstring_util_test.cc70 auto new_shape = TfLiteIntArrayCreate(2); in TEST() local
186 auto new_shape = TfLiteIntArrayCreate(2); in TEST() local
Dstring_util.cc108 TfLiteIntArray* new_shape) { in WriteToTensor()
/external/tensorflow/tensorflow/compiler/mlir/lite/experimental/tac/transforms/
Ddevice_transform_patterns.cc87 auto new_shape = builder->create<TFL::ConstOp>(loc, new_shape_attr); in InsertReshapeOp() local
399 SmallVector<int64_t, 4> new_shape; in matchAndRewrite() local
550 SmallVector<int64_t, 4> new_shape; in matchAndRewrite() local
651 SmallVector<int64_t, 2> new_shape({batch, channel}); in matchAndRewrite() local
/external/tensorflow/tensorflow/dtensor/mlir/expansions/
Dnullary_spmd_expander.cc64 std::vector<int64_t> new_shape(dense.getType().getRank()); in ExpandOp() local
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops_layout_helper.cc67 SmallVector<int64_t, 4> new_shape(permutation.size()); in ShuffleRankedTensorType() local
/external/XNNPACK/src/subgraph/
Dstatic-reshape.c136 const size_t* new_shape, in xnn_define_static_reshape()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/task/
Dtensor_desc.h155 void SetBHWCShape(const BHWC& new_shape) { in SetBHWCShape()
158 void SetBHWDCShape(const BHWDC& new_shape) { shape_ = new_shape; } in SetBHWDCShape()
/external/tensorflow/tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/
Dlegacy_reshape.json37 "new_shape": [ 2, 2 ] array
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_space_to_depth_pass.cc84 LogicalResult HandleCast(TF::CastOp cast_op, ArrayRef<int64_t> new_shape) { in HandleCast()
194 TF::ReshapeOp GetReshapeOpForConv2DFilter(ArrayRef<int64_t> new_shape, in GetReshapeOpForConv2DFilter()
248 SmallVector<int64_t, 6> new_shape = { in HandleConv2DFilter() local
314 SmallVector<int64_t, 4> new_shape(new_filter_shape.begin(), in HandleConv2DBackPropFilter() local
/external/tensorflow/tensorflow/lite/delegates/flex/
Dtflite_subgraph_execute.cc128 std::vector<int> new_shape; in ResizeInputTensor() local

1234