Home
last modified time | relevance | path

Searched defs:shape_attr (Results 1 – 20 of 20) sorted by relevance

/external/tensorflow/tensorflow/core/tpu/ops/
Dhost_compute_ops.cc104 const AttrValue* shape_attr; in __anonc8f95cfc0402() local
/external/tensorflow/tensorflow/core/ops/
Dfunction_ops.cc37 const AttrValue* shape_attr = context->attrs().Find("_output_shapes"); in __anon5bd79b600102() local
/external/tensorflow/tensorflow/compiler/tf2xla/ops/
Dxla_ops.cc509 TensorShape shape_attr; in __anonbbc1c2d10402() local
884 TensorShape shape_attr; in __anonbbc1c2d10d02() local
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops.cc345 if (auto shape_attr = attr.dyn_cast<ShapeAttr>()) in printAttribute() local
Dtf_ops_n_z.cc590 DenseIntElementsAttr shape_attr; in GetReshapeOutputType() local
2030 DenseIntElementsAttr shape_attr; in GetSlicedShapeAndBoundRanges() local
Dtf_ops_a_m.cc1376 if (auto shape_attr = shape.dyn_cast_or_null<DenseIntElementsAttr>()) in fold() local
/external/tensorflow/tensorflow/tools/graph_transforms/
Dfold_constants_test.cc145 tensorflow::AttrValue shape_attr; in TestPreserveOutputShapes() local
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Dprepare_tf.cc498 auto shape_attr = DenseElementsAttr::get(shape_type, result_shape_data); in legalizeFilter() local
564 auto shape_attr = DenseElementsAttr::get(shape_type, result_shape_data); in RewriteNewAxisMask() local
Doptimize.cc270 DenseIntElementsAttr shape_attr = in ShapeMatchesReduceWithKeepAxes() local
Dlower_static_tensor_list.cc374 SmallVector<Attribute, 4> shape_attr; in matchAndRewrite() local
/external/tensorflow/tensorflow/compiler/mlir/tfr/ir/
Dtfr_ops.cc427 auto shape_attr = TF::ShapeAttr::get(rewriter.getContext(), shape); in matchAndRewrite() local
/external/tensorflow/tensorflow/core/framework/
Dfunction_test.cc1507 AttrValue shape_attr; in TEST() local
1531 const auto& shape_attr = attr.list().shape(0); in TEST() local
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_common.cc200 ArrayAttr shape_attr = rewriter.getI64ArrayAttr(reshape_output_shape); in convertPackOp() local
1281 ArrayAttr shape_attr = rewriter.getI64ArrayAttr(reshape_dims); in convertExpandDimsOp() local
1341 ArrayAttr shape_attr = rewriter.getI64ArrayAttr(reshape_dims); in convertSqueezeOp() local
Dlegalize_tf.cc669 ArrayAttr shape_attr = rewriter.getI64ArrayAttr(shape_vals); in matchAndRewrite() local
719 auto shape_attr = DenseElementsAttr::get( in matchAndRewrite() local
Dlegalize_tfl.cc1587 ArrayAttr shape_attr = rewriter.getI64ArrayAttr(shape_vals); in matchAndRewrite() local
1637 auto shape_attr = DenseElementsAttr::get( in matchAndRewrite() local
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_import.cc729 mlir::DenseIntElementsAttr shape_attr; in ConvertOp() local
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties.cc830 AttrValue shape_attr; in UpdateFunction() local
/external/tensorflow/tensorflow/compiler/mlir/lite/ir/
Dtfl_ops.cc1362 DenseIntElementsAttr shape_attr; in GetReshapeOutputType() local
/external/tensorflow/tensorflow/core/common_runtime/
Ddirect_session_test.cc2407 AttrValue shape_attr; in CreateIdentityGraphDef() local
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dimport_model.cc1040 const AttrValue* shape_attr = node.attrs().Find("_handle_shapes"); in InferOutputType() local