- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getOperandSegmentSizeAttr (0.37 sec)
-
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
set_segment_sizes_attr(input_ranges, op_def->input_arg(), mlir::OpTrait::AttrSizedOperandSegments< void>::getOperandSegmentSizeAttr()); } if (tf_op->hasTrait<mlir::OpTrait::AttrSizedResultSegments>()) { // Add derived "result_segment_sizes" attr to the created operation.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc
} if (inst->hasTrait<mlir::OpTrait::AttrSizedOperandSegments>()) { // TODO(b/146937733): Don't use <void> here. llvm::StringRef attr_name = mlir::OpTrait::AttrSizedOperandSegments< void>::getOperandSegmentSizeAttr(); attrs_to_ignore.insert(attr_name.data()); } if (inst->hasTrait<mlir::OpTrait::AttrSizedResultSegments>()) { // TODO(b/146937733): Don't use <void> here.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 11.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/fused_kernel_matcher.cc
auto sizes = mlir::DenseI32ArrayAttr::get(context, {1, 1, 1, 0}); auto attr_name = StringAttr::get(context, mlir::OpTrait::AttrSizedOperandSegments< void>::getOperandSegmentSizeAttr()); attrs.push_back(NamedAttribute(attr_name, sizes)); } // Insert fused operation right before the BiasAdd operation to guarantee
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.9K bytes - Viewed (0)