Home
last modified time | relevance | path

Searched defs:shape_op (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dreplicate_invariant_op_hoisting.cc47 Block* replicate_block, TF::ShapeOp shape_op) { in MakeShapeOpInvariant()
128 replicate_op.walk([&](TF::ShapeOp shape_op) { in HoistReplicateInvariantOps()
Dtpu_rewrite_pass.cc355 auto shape_op = builder->create<TF::ShapeOp>( in BuildCompileOp() local
Dtpu_extract_outside_compilation.cc532 FuncOp shape_op = BuildFunction(clustered_ops.getArrayRef(), in MoveOpsToHost() local
Dtensor_list_ops_decomposition.cc521 auto shape_op = shape_value.getDefiningOp(); in GetConstShapeValue() local
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dpropagate_array_data_types.cc81 auto* shape_op = static_cast<TensorFlowShapeOperator*>(op); in Run() local
/external/tensorflow/tensorflow/compiler/tests/
Dunary_ops_test.py1007 shape_op = lambda x: array_ops.shape_internal(x, optimize=False) function
/external/tensorflow/tensorflow/c/eager/
Dc_api_experimental_test.cc454 TFE_Op* shape_op = ShapeOp(ctx, hgpu); in TEST() local
Dc_api_test.cc570 TFE_Op* shape_op = ShapeOp(ctx, hgpu); in TEST() local
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfold_old_batch_norms_test.cc395 Output shape_op = in TestFoldFusedBatchNormsWithConcat() local
Dquantize_nodes_test.cc373 Output shape_op = in TestQuantizeConcat() local
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_import.cc814 auto shape_op = builder.create<tfl::ConstOp>(loc, output_shape); in ConvertOp() local
875 auto shape_op = builder.create<tfl::ConstOp>(loc, output_shape); in ConvertOp() local
/external/tensorflow/tensorflow/compiler/mlir/tfr/ir/
Dtfr_ops.cc468 LogicalResult matchAndRewrite(GetShapeOp shape_op, in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops_n_z.cc239 auto shape_op = dyn_cast_or_null<ShapeOp>(slice_op.input().getDefiningOp()); in fold() local
1963 auto shape_op = input().getDefiningOp<ShapeOp>(); in fold() local
Dtf_ops_a_m.cc2479 if (auto shape_op = dims.getDefiningOp<ShapeOp>()) { in InferFillOpType() local
/external/tensorflow/tensorflow/lite/toco/
Dexport_tensorflow.cc1310 tensorflow::NodeDef* shape_op = tensorflow_graph->add_node(); in ConvertTensorFlowShapeOperator() local
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc5904 Value shape_op = rewriter.create<shape::ShapeOfOp>(op.getLoc(), x); in matchAndRewrite() local
6625 auto shape_op = in matchAndRewrite() local
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/
Dhlo_ops.cc645 Value shape_op) { in castToIndexTensor()