Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/core/tpu/ops/
Dhost_compute_ops.cc108 const AttrValue* shape_attr; in __anon7708b7eb0402() local
/external/tensorflow/tensorflow/core/ops/
Dfunction_ops.cc37 const AttrValue* shape_attr = context->GetAttr("_output_shapes"); in __anonff0e774f0102() local
/external/tensorflow/tensorflow/core/runtime_fallback/util/
Dattr_util.cc182 auto shape_attr = list_attr.GetAttributeOfType<tfrt::ShapeAttr>(i); in FillAttrValueMapUsingAggregate() local
227 auto shape_attr = attrs.GetAsserting<tfrt::ShapeAttr>(entry.name); in FillAttrValueMapUsingScalar() local
548 if (auto shape_attr = bef_attr.dyn_cast<tfrt::ShapeAttr>()) { in SetUpScalarAttr() local
606 if (auto shape_attr = base.dyn_cast<tfrt::ShapeAttr>()) { in SetUpListAttr() local
/external/tensorflow/tensorflow/compiler/tf2xla/ops/
Dxla_ops.cc585 TensorShape shape_attr; in __anon5f0f96000402() local
1090 TensorShape shape_attr; in __anon5f0f96001002() local
1256 TensorShape shape_attr; in __anon5f0f96001202() local
/external/tensorflow/tensorflow/dtensor/mlir/
Dshape_utils.cc103 auto shape_attr = global_shape_attr[output_index]; in ExtractGlobalOutputShape() local
/external/tensorflow/tensorflow/core/ir/utils/
Dshape_inference_utils.cc112 auto shape_attr = attrs[0].dyn_cast<tf_type::ShapeAttr>(); in GetShapeFromMlirAttr() local
/external/tensorflow/tensorflow/compiler/mlir/tfrt/transforms/
Dcorert_converter.cc317 if (auto shape_attr = attr.dyn_cast<mlir::TF::ShapeAttr>()) { in ConvertAttribute() 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.cc395 auto shape_attr = DenseElementsAttr::get(shape_type, result_shape_data); in legalizeFilter() local
468 auto shape_attr = DenseElementsAttr::get(shape_type, result_shape_data); in RewriteNewAxisMask() local
Doptimize.cc334 DenseIntElementsAttr shape_attr = in ShapeMatchesReduceWithKeepAxes() local
Dlower_static_tensor_list.cc508 SmallVector<Attribute, 4> shape_attr; in matchAndRewrite() local
/external/tensorflow/tensorflow/core/runtime_fallback/runtime/
Druntime_fallback_kernels.cc450 tfrt::ShapeAttr shape_attr = in PrepareAttributes() local
522 auto shape_attr = list_attr.GetAttributeOfType<ShapeAttr>(i); in PrepareAttributes() local
/external/tensorflow/tensorflow/dtensor/mlir/expansions/
Dsave_restore_spmd_expander.cc680 mlir::TF::ShapeAttr shape_attr = shape.cast<mlir::TF::ShapeAttr>(); in ExpandDTensorRestoreV2Op() local
/external/tensorflow/tensorflow/core/framework/
Dfunction_test.cc1574 AttrValue shape_attr; in TEST() local
1598 const auto& shape_attr = attr.list().shape(0); in TEST() local
/external/tensorflow/tensorflow/compiler/mlir/tfr/ir/
Dtfr_ops.cc486 auto shape_attr = TF::ShapeAttr::get(rewriter.getContext(), shape); in matchAndRewrite() local
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_common.cc255 ArrayAttr shape_attr = rewriter.getI64ArrayAttr(reshape_output_shape); in convertPackOp() local
1235 ArrayAttr shape_attr = rewriter.getI64ArrayAttr(reshape_dims); in convertExpandDimsOp() local
1298 ArrayAttr shape_attr = rewriter.getI64ArrayAttr(reshape_dims); in convertSqueezeOp() local
Dlegalize_tf.cc674 ArrayAttr shape_attr = rewriter.getI64ArrayAttr(shape_vals); in matchAndRewrite() local
724 auto shape_attr = in matchAndRewrite() local
Dlegalize_tfl.cc1641 ElementsAttr shape_attr; in matchAndRewrite() local
1713 auto shape_attr = in matchAndRewrite() local
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops_n_z.cc352 auto shape_attr = DenseIntElementsAttr::get(type, output_ty.getShape()); in matchAndRewrite() local
760 DenseIntElementsAttr shape_attr; in GetReshapeOutputType() local
2171 DenseIntElementsAttr shape_attr; in GetSlicedShapeAndBoundRanges() local
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_import.cc888 mlir::DenseIntElementsAttr shape_attr; in ConvertOp() local
/external/tensorflow/tensorflow/core/tfrt/eager/
Dc_api_tfrt.cc1701 tfrt::ShapeAttr shape_attr(buf.data() + offset); in SetAttrShape() local
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dshape_inference.cc403 Type GetType(Attribute shape_attr, Attribute type_attr) { in GetType()
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_properties.cc859 AttrValue shape_attr; in UpdateFunction() local
/external/tensorflow/tensorflow/core/common_runtime/
Ddirect_session_test.cc2440 AttrValue shape_attr; in CreateIdentityGraphDef() local
/external/tensorflow/tensorflow/core/transforms/constant_folding/
Dpass.cc2123 auto shape_attr = shape_op->getAttrOfType<ElementsAttr>("value"); in matchAndRewrite() local

12