- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for GetBoolAttr (0.21 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc
builder.getBoolAttr(true)); ConstOp shape = builder.create<ConstOp>(loc, shape_attr); shape->setAttr(kICIWeightDistributionMlirBridgeMarker, builder.getBoolAttr(true)); FillOp fill = builder.create<FillOp>(loc, shape, zero); fill->setAttr(kICIWeightDistributionMlirBridgeMarker, builder.getBoolAttr(true)); return fill; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 13 18:52:07 UTC 2024 - 13.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
def convertIntAttrTo32Bit : NativeCodeCall< "$_builder.getI32IntegerAttr($0.cast<IntegerAttr>().getInt())">; // Builds a constant bool attribute. class GetBoolAttr<int value> : NativeCodeCall<"$_builder.getBoolAttr(" # value #")">; // Converts an integer attribute $0 to 64-bit with builder. def convertIntAttrTo64Bit : NativeCodeCall< "$_builder.getI64IntegerAttr($0.cast<IntegerAttr>().getInt())">;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 04 13:30:42 UTC 2024 - 28.5K 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/lower_static_tensor_list.cc
/*then_branch=*/ mlir::SymbolRefAttr::get(then_branch_op), /*else_branch=*/ mlir::SymbolRefAttr::get(else_branch_op), /*is_stateless=*/rewriter.getBoolAttr(true)); return success(); } private: // When the input tensorlist's size is smaller than the requested size, // then branch is executed.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
if (isa<TensorFlowDialect, BuiltinDialect>(element_type.getDialect())) return b.create<TF::CastOp>(loc, dst_type, input, /*truncate=*/b.getBoolAttr(false)); return nullptr; } // Follow the use chain of TensorList and return true iff all elements written // to TensorList have same static shape. If all elements have same shape, assign
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
auto reduce_dims_op = builder->create<ConstantOp>(loc, reduce_dims); return builder->create<TF::SumOp>(loc, input, reduce_dims_op, builder->getBoolAttr(false)); } // Creates a mhlo.rng_uniform op with `builder` to generate `num_elements` // 32-bit integer numbers in the range of [`lower_limit`, `upper_limit`).
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0)