Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dlhlo_legalize_to_gpu.cc59 auto shaped_type = result.getType().dyn_cast<ShapedType>(); in matchAndRewrite() local
75 auto shaped_type = input.getType().dyn_cast<ShapedType>(); in matchAndRewrite() local
Dlegalize_to_linalg.cc1140 auto shaped_type = result_type.cast<ShapedType>(); in matchAndRewrite() local
1229 auto shaped_type = result_type.cast<ShapedType>(); in matchAndRewrite() local
1349 auto shaped_type = result_type.cast<ShapedType>(); in matchAndRewrite() local
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dconvert_type.cc149 auto shaped_type = type.dyn_cast<mlir::ShapedType>(); in GetShapeStrippedType() local
Dconstant_utils.cc28 PatternRewriter* rewriter, Location loc, ShapedType shaped_type, in CreateConstOpWithSingleValue()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dinit_text_file_to_import_test_pass.cc69 ShapedType shaped_type = in runOnOperation() local
Dreadonly_references_to_resources.cc138 ShapedType shaped_type = in runOnFunction() local
/external/tensorflow/tensorflow/compiler/mlir/lite/
Dflatbuffer_import.cc351 mlir::RankedTensorType shaped_type, mlir::FloatType elem_type, in ConvertFloatBuffer()
413 mlir::RankedTensorType shaped_type, mlir::Type elem_type, in ConvertIntBuffer()
462 auto shaped_type = type.dyn_cast<mlir::RankedTensorType>(); in BuildExternalConstOp() local
501 mlir::RankedTensorType shaped_type, in BuildVariableOp()
528 auto shaped_type = type.dyn_cast<mlir::RankedTensorType>(); in BuildConstOp() local
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dexport_utils.cc219 if (auto shaped_type = elt_type.dyn_cast<mlir::ShapedType>()) { in ConvertAttribute() local
414 Status SetShapeAttribute(absl::string_view name, mlir::ShapedType shaped_type, in SetShapeAttribute()
Dshape_inference_utils.cc354 if (auto shaped_type = in InferReturnTypeComponentsForTFOp() local
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_attributes.cc81 ShapeAttr ShapeAttr::get(mlir::MLIRContext* context, ShapedType shaped_type) { in get()
Dtf_types.cc28 auto shaped_type = value.getType().cast<mlir::ShapedType>(); in GetShape() local
/external/tensorflow/tensorflow/compiler/mlir/lite/ir/
Dtfl_ops.cc72 ShapedType shaped_type = in VerifyOperandsHaveSameShapesOrBroadcastableShape() local
326 if (auto shaped_type = t.dyn_cast_or_null<ShapedType>()) { in IsF32ShapedType() local
334 if (auto shaped_type = t.dyn_cast_or_null<ShapedType>()) { in IsBF16ShapedType() local
528 if (auto shaped_type = result_type.dyn_cast<RankedTensorType>()) { in buildComparisonBinOp() local
747 const auto shaped_type = value.getType().cast<ShapedType>(); in fold() local
2386 if (auto shaped_type = cond.getType().dyn_cast<ShapedType>()) { in BuildSelectV2Op() local
2392 if (auto shaped_type = operand_type.dyn_cast<ShapedType>()) { in BuildSelectV2Op() local
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Doptimize.cc252 auto shaped_type = type.dyn_cast<ShapedType>(); in GetShapeStrippedType() local
861 if (auto shaped_type = t.dyn_cast<ShapedType>()) { in CanFuseAffineOp() local
Dlower_static_tensor_list.cc347 if (auto shaped_type = element_shape.getType().dyn_cast<ShapedType>()) { in matchAndRewrite() local
369 if (auto shaped_type = in matchAndRewrite() local
Dlegalize_tf.cc105 auto shaped_type = value.getType().dyn_cast<ShapedType>(); in HasSameStaticShapes() local
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/
Dhlo_ops.cc1120 auto shaped_type = type.cast<ShapedType>(); in inferReturnTypes() local
1733 auto shaped_type = input.getType().cast<ShapedType>(); in fold() local
2143 auto shaped_type = getType().cast<ShapedType>(); in fold() local
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/
Dlegalize_tf.cc818 auto shaped_type = int_attr.getType(); in SliceDenseIntElementsAttrColumn2D() local