Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Densure_static_shapes_pass.cc32 if (ShapedType shaped_type = type.dyn_cast<ShapedType>()) { in runOnFunction() local
Dfreeze_saved_model_assets.cc92 ShapedType shaped_type = in runOnOperation() local
Dinit_text_file_to_import_test_pass.cc82 ShapedType shaped_type = in runOnOperation() local
Dreadonly_references_to_resources.cc150 ShapedType shaped_type = in runOnOperation() local
/external/tensorflow/tensorflow/compiler/mlir/quantization/tensorflow/passes/
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
/external/tensorflow/tensorflow/dtensor/mlir/
Dgroup_assignment.cc84 auto shaped_type = mlir::RankedTensorType::get( in ToMLIR() local
110 mlir::ShapedType shaped_type = group_assignment_attr.getType(); in FromMLIR() local
Dcollectives.cc312 auto shaped_type = mlir::RankedTensorType::get( in EmitAllReduce() local
420 auto shaped_type = mlir::RankedTensorType::get( in CreateConstSrcTargetPair() local
Dgroup_assignment_test.cc49 auto shaped_type = mlir::RankedTensorType::get( in CreateGroupAssignmentAttr() local
Dshape_utils.cc143 if (auto shaped_type = in InferShapeOfTFOpWithCustomOperandConstantFn() local
/external/tensorflow/tensorflow/compiler/mlir/lite/experimental/tac/common/
Dutils.h49 if (auto shaped_type = t.dyn_cast_or_null<ShapedType>()) { in IsF32ShapedType() local
/external/tensorflow/tensorflow/compiler/mlir/tfrt/jit/transforms/
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
/external/tensorflow/tensorflow/compiler/mlir/lite/utils/
Dconvert_type.cc194 auto shaped_type = type.dyn_cast<mlir::ShapedType>(); in GetShapeStrippedType() local
Dconstant_utils.cc32 PatternRewriter* rewriter, Location loc, ShapedType shaped_type, in CreateConstOpWithSingleValue()
/external/tensorflow/tensorflow/compiler/mlir/lite/
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
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
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()
/external/tensorflow/tensorflow/compiler/mlir/tools/kernel_gen/transforms/
Dshape_simplification.cc197 auto shaped_type = in matchAndRewrite() local
/external/tensorflow/tensorflow/core/ir/importexport/
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()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
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
Doptimize.cc316 auto shaped_type = type.dyn_cast<ShapedType>(); in GetShapeStrippedType() local
1257 if (auto shaped_type = t.dyn_cast<ShapedType>()) { in CanFuseAffineOp() local
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
/external/tensorflow/tensorflow/core/ir/types/
Ddialect.cc441 ShapeAttr ShapeAttr::get(MLIRContext *context, ShapedType shaped_type) { in get()
474 auto shaped_type = value.getType().cast<ShapedType>(); in GetShape() local
/external/tensorflow/tensorflow/compiler/mlir/lite/ir/
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
/external/tensorflow/tensorflow/dtensor/mlir/utils/
Dcollective_lowering.cc597 const mlir::RankedTensorType shaped_type = mlir::RankedTensorType::get( in LowerAllGatherOp() local
/external/tensorflow/tensorflow/compiler/xla/mlir/transforms/runtime/
Dcustom_call_encoding.cc126 ShapedType shaped_type = dense.getType(); in Flatten() local
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dir_emitter_unnested.cc291 auto shaped_type = type.cast<mlir::ShapedType>(); in ComputeMaxUnrollFactor() local

12