- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for ArrayAttr (0.23 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
} } mlir::LogicalResult GetDeviceAssignmentCoordinates( mlir::tf_device::ClusterOp cluster, llvm::SmallVector<int64_t, 8>& device_coordinates) { mlir::ArrayAttr device_assignment_attr = cluster->getAttrOfType<mlir::ArrayAttr>( tensorflow::kDeviceAssignmentAttr); if (!device_assignment_attr) return cluster.emitOpError(llvm::formatv("requires attribute '{0}'",
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td
CPred<"$_self.cast<ElementsAttr>().getShapedType().getElementType().isInteger(64)">, "Int 64 constant tensor">; // Extract the ith int element from an ArrayAttr $0 as an 32-bit IntegerAttr // with builder. class ExtractI32At<int i> : NativeCodeCall< "$_builder.getI32IntegerAttr($_self.cast<ArrayAttr>().getValue()[" # i # "].cast<IntegerAttr>().getInt())">; // Use the tensor type information from $0 and convert min $1, max $2 and
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/tf2xla/internal/passes/xla_broadcast.cc
if (!topology_attr) return cluster.emitOpError( CreateMissingAttributeMsg(tensorflow::kTopologyAttr)); auto device_assignment_attr = cluster->getAttrOfType<mlir::ArrayAttr>( tensorflow::kDeviceAssignmentAttr); if (!device_assignment_attr) return cluster.emitOpError(llvm::formatv("requires attribute '{0}'",
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/tf2xla/transforms/legalize_tf.cc
// dimensions to be equal to the size of window dimensions and window strides. template <int num_dims> static PaddingArray GetReduceWindowPaddingAsArray( llvm::ArrayRef<int64_t> input_dims, ArrayAttr window_dims, ArrayAttr window_strides, StringRef padding, Builder *builder) { if (padding == "VALID") { return PaddingArray(num_dims, std::make_pair(0, 0)); } assert(padding == "SAME");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
tflite::BuiltinOperator op_code); BufferOffset<flatbuffers::Vector<unsigned int>> BuildStablehloPrecisionConfig( ::mlir::ArrayAttr precisionConfig); BufferOffset<flatbuffers::Vector<unsigned int>> BuildVhloPrecisionConfigV1( mlir::vhlo::ArrayV1Attr precisionConfig); std::optional<BufferOffset<tflite::Operator>> BuildStablehloGatherOp(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
} return false; } // Helper structure to capture shapes & types for Dataset input. struct DatasetInput { explicit operator bool() const { return shapes && types; } ArrayAttr shapes; ArrayAttr types; }; // Returns the input elements shapes and types for Dataset ops. DatasetInput GetDatasetInput(Value value) { // TODO(haoliang): add an interface for DatasetOp to avoid the following
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/lite/ir/tfl_ops.td
"whose value equals to '" # value # "'">; // Ensures the array attribute's size is within the given maximum size. class TFL_ArrayMaxCount<int n> : AttrConstraint< CPred<"$_self.isa<ArrayAttr>() && $_self.cast<ArrayAttr>().size() <= " # n>, "whose size is at most " # n>; // Ensures the given integer attribute has the given value. class TFL_IntEqualsTo<int n> : AttrConstraint< CPred<"$_self.isa<IntegerAttr>() && "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0)