- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 58 for GetBoolAttr (0.47 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc
if (!parent_op) return false; return HasOutsideCompilationAncestor(parent_op); } Operation* ApplyXlaHostTransferAttr(Operation* op, OpBuilder& builder) { op->setAttr("_xla_has_host_transfer", builder.getBoolAttr(true)); return op; } // Creates a tf._XlaSendFromHost or tf._XlaSendFromHostV2 op. If device ordinal // is present, a tf._XlaSendFromHostV2 op is created instead.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/lstm_utils.cc
/*cell_clip*/ builder->getF32FloatAttr(10.0), /*proj_clip*/ builder->getF32FloatAttr(0.0), /*time_major*/ builder->getBoolAttr(time_majored), /*asymmetric_quantize_inputs=*/mlir::BoolAttr(), /*diagonal_recurrent_tensors=*/builder->getBoolAttr(indy), /*input_to_input_intermediate=*/mlir::TypeAttr(), /*input_to_forget_intermediate=*/mlir::TypeAttr(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 36.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
(lhs_contracting_dims[0] == lhs_rank - 2 ? rewriter.getBoolAttr(true) : rewriter.getBoolAttr(false)); const int rhs_rank = rhs_value.getType().cast<TensorType>().getRank(); const BoolAttr adj_y = (rhs_contracting_dims[0] == rhs_rank - 1 ? rewriter.getBoolAttr(true) : rewriter.getBoolAttr(false)); Value result = op.getResult();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_resource_ops.td
" $2, $1.getType().cast<TensorType>().getElementType())," " $2)" >; def CheckHasResourceSubtype : Constraint<CPred<"HasResourceSubtype($0)">>; def CreateConstBoolAttrFalse : NativeCodeCall<"$_builder.getBoolAttr(false)">; def CreateTFReadVariableOpFromResourceHandle : NativeCodeCall< "$_builder.create<TF::ReadVariableOp>(" "$0.getLoc(), GetResourceSubtype($1), $1)">; def CreateTFSelectOp: NativeCodeCall<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 20.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc
llvm::ArrayRef<int64_t>{ rhs_dot_dimensions_info.FlattenedOutDimensionSize()}); BoolAttr false_attr = rewriter.getBoolAttr(false); auto matmul = rewriter.create<TFL::BatchMatMulOp>( loc, RankedTensorType::get(matmul_shape, result_type.getElementType()), lhs_flattend, rhs_flattend, /*adj_x*/ false_attr, /*adj_y*/ false_attr,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 19.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc
OpBuilder builder(func); bool is_signed = quant_specs_.IsSignedInferenceType(); IntegerAttr num_bits = builder.getI32IntegerAttr(quant_specs_.GetQuantizationTypeWidth()); BoolAttr narrow_range = builder.getBoolAttr(false); auto add_quantize_op = [&](Location loc, Type input_type, Block* block, Block::iterator insertion_point, Value arg, int i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.td
def CreateTFShapeOp : NativeCodeCall< "$_builder.create<TF::ShapeOp>($0.getLoc(), $1, $2)">; def IsI32 : NativeCodeCall< "$_builder.getBoolAttr(getElementTypeOrSelf($0.getType()).isInteger(32))">; def CreateTFCastOpF32 : NativeCodeCall< "CreateTFCastOpF32(&$_builder, $0.getLoc(), $1, $2)">; def CreateTFCastOpI32 : NativeCodeCall<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 24.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize.cc
OpBuilder builder(func); bool is_signed = quant_specs_.IsSignedInferenceType(); IntegerAttr num_bits = builder.getI32IntegerAttr(quant_specs_.GetQuantizationTypeWidth()); BoolAttr narrow_range = builder.getBoolAttr(false); auto add_quantize_op = [&](Location loc, Type input_type, Block* block, Block::iterator insertion_point, Value arg, int i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
/*type=*/2); auto send = builder.create<SendOp>( loc, token.getType(), operand, token, channel_handle, /*is_host_transfer=*/builder.getBoolAttr(true)); SetFrontendAttributes(send, index, key, operand.getType(), /*device_to_host=*/true, host_handler_name); SetOpSharding(send, manual_sharding); return send.getResult();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0)