Home
last modified time | relevance | path

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

12

/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/lite/
H A Dflatbuffer_import.cc379 mlir::RankedTensorType shaped_type, mlir::FloatType elem_type, in ConvertFloatBuffer()
443 mlir::RankedTensorType shaped_type, mlir::Type elem_type, in ConvertIntBuffer()
496 auto shaped_type = type.dyn_cast<mlir::RankedTensorType>(); in BuildExternalConstOp() local
535 mlir::RankedTensorType shaped_type, in BuildVariableOp()
580 const mlir::RankedTensorType shaped_type, OpBuilder& builder, in BuildSparseConstOp()
655 auto shaped_type = type.dyn_cast<mlir::RankedTensorType>(); in BuildConstOp() local
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/quantization/tensorflow/passes/
H A Dutils.cc44 auto shaped_type = value.getType().dyn_cast<ShapedType>(); in HasStaticShape() local
51 auto shaped_type = value.getType().dyn_cast<ShapedType>(); in HasStaticShapeAtDims() local
/aosp_15_r20/external/tensorflow/tensorflow/dtensor/mlir/
H A Dgroup_assignment.cc84 auto shaped_type = mlir::RankedTensorType::get( in ToMLIR() local
110 mlir::ShapedType shaped_type = group_assignment_attr.getType(); in FromMLIR() local
H A Dcollectives.cc312 auto shaped_type = mlir::RankedTensorType::get( in EmitAllReduce() local
420 auto shaped_type = mlir::RankedTensorType::get( in CreateConstSrcTargetPair() local
H A Dgroup_assignment_test.cc49 auto shaped_type = mlir::RankedTensorType::get( in CreateGroupAssignmentAttr() local
H A Dshape_utils.cc143 if (auto shaped_type = in InferShapeOfTFOpWithCustomOperandConstantFn() local
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/tfrt/jit/transforms/
H A Dtf_jitrt_legalize_i1_type.cc97 ShapedType shaped_type = int_attr.getType(); in isLegalAttribute() local
110 ShapedType shaped_type = int_attr.getType(); in convertAttribute() local
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
H A Dlegalize_tf.cc100 auto shaped_type = value.getType().dyn_cast<ShapedType>(); in HasSameStaticShapes() local
119 if (auto shaped_type = val.getType().dyn_cast<RankedTensorType>()) { in CreateCastToInt32() local
132 auto shaped_type = input.getType().cast<ShapedType>(); in GetShape() local
H A Doptimize.cc316 auto shaped_type = type.dyn_cast<ShapedType>(); in GetShapeStrippedType() local
1257 if (auto shaped_type = t.dyn_cast<ShapedType>()) { in CanFuseAffineOp() local
H A Dlower_static_tensor_list.cc481 if (auto shaped_type = element_shape.getType().dyn_cast<ShapedType>()) { in matchAndRewrite() local
503 if (auto shaped_type = in matchAndRewrite() local
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
H A Dexport_utils.cc230 if (auto shaped_type = elt_type.dyn_cast<mlir::ShapedType>()) { in ConvertAttribute() local
443 Status SetShapeAttribute(absl::string_view name, mlir::ShapedType shaped_type, in SetShapeAttribute()
/aosp_15_r20/external/tensorflow/tensorflow/core/ir/importexport/
H A Dconvert_attributes.cc181 if (auto shaped_type = elt_type.dyn_cast<ShapedType>()) { in ConvertAttribute() local
280 Status SetShapeAttribute(absl::string_view name, ShapedType shaped_type, in SetShapeAttribute()
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/lite/ir/
H A Dtfl_ops.cc165 ShapedType shaped_type = in VerifyOperandsHaveSameShapesOrBroadcastableShape() local
468 if (auto shaped_type = t.dyn_cast_or_null<ShapedType>()) { in IsF32ShapedType() local
476 if (auto shaped_type = t.dyn_cast_or_null<ShapedType>()) { in IsBF16ShapedType() local
670 if (auto shaped_type = result_type.dyn_cast<RankedTensorType>()) { in buildComparisonBinOp() local
899 const auto shaped_type = value.getType().cast<ShapedType>(); in fold() local
3007 if (auto shaped_type = cond.getType().dyn_cast<ShapedType>()) { in BuildSelectV2Op() local
3013 if (auto shaped_type = operand_type.dyn_cast<ShapedType>()) { in BuildSelectV2Op() local
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
H A Densure_static_shapes_pass.cc32 if (ShapedType shaped_type = type.dyn_cast<ShapedType>()) { in runOnFunction() local
H A Dfreeze_saved_model_assets.cc92 ShapedType shaped_type = in runOnOperation() local
H A Dinit_text_file_to_import_test_pass.cc82 ShapedType shaped_type = in runOnOperation() local
H A Dreadonly_references_to_resources.cc150 ShapedType shaped_type = in runOnOperation() local
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/lite/experimental/tac/common/
H A Dutils.h49 if (auto shaped_type = t.dyn_cast_or_null<ShapedType>()) { in IsF32ShapedType() local
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
H A Dconvert_type.cc194 auto shaped_type = type.dyn_cast<mlir::ShapedType>(); in GetShapeStrippedType() local
H A Dconstant_utils.cc32 PatternRewriter* rewriter, Location loc, ShapedType shaped_type, in CreateConstOpWithSingleValue()
/aosp_15_r20/external/tensorflow/tensorflow/core/ir/types/
H A Ddialect.cc441 ShapeAttr ShapeAttr::get(MLIRContext *context, ShapedType shaped_type) { in get()
474 auto shaped_type = value.getType().cast<ShapedType>(); in GetShape() local
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
H A Dshape_simplification.cc197 auto shaped_type = in matchAndRewrite() local
/aosp_15_r20/external/tensorflow/tensorflow/dtensor/mlir/utils/
H A Dcollective_lowering.cc597 const mlir::RankedTensorType shaped_type = mlir::RankedTensorType::get( in LowerAllGatherOp() local
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/mlir/transforms/runtime/
H A Dcustom_call_encoding.cc126 ShapedType shaped_type = dense.getType(); in Flatten() local
/aosp_15_r20/external/tensorflow/tensorflow/compiler/xla/service/gpu/
H A Dir_emitter_unnested.cc291 auto shaped_type = type.cast<mlir::ShapedType>(); in ComputeMaxUnrollFactor() local

12