- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for CastValueToI64 (0.31 sec)
-
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td
def FalseBoolAttr : AttrConstraint<CPred<"!$_self.cast<BoolAttr>().getValue()">>; def TrueBoolAttr : AttrConstraint<CPred<"$_self.cast<BoolAttr>().getValue()">>; def CastValueToI64: NativeCodeCall< "CastValueToI64($0.getLoc(), $1, &$_builder)">; def CastValueToElementType: NativeCodeCall< "$_builder.create<ConvertOp>($0.getLoc(), $1, " "getElementTypeOrSelf($2.getType()))">;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 34.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
return axis < 0 ? axis + rank : axis; } /// Returns a `ConvertOp` that casts the elements to a i64 type while retaining /// the shape of the input value. static ConvertOp CastValueToI64(Location loc, Value value, PatternRewriter *rewriter) { return rewriter->create<ConvertOp>(loc, value, rewriter->getIntegerType(64)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0)