- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for StringAttr (0.21 sec)
-
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
flex_builder->Bool(name.c_str(), array[i].cast<mlir::BoolAttr>().getValue()); } else if (llvm::isa<mlir::StringAttr>(attr)) { flex_builder->String(name.c_str(), array[i].cast<mlir::StringAttr>().getValue().str()); } else if (llvm::isa<mlir::vhlo::BooleanV1Attr>(array[i])) { flex_builder->Bool(name.c_str(),
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
std::vector<std::string> disabled_checks; for (auto attr : op.getDisabledChecks().getAsRange<StringAttr>()) { disabled_checks.push_back(attr.getValue().str()); } std::vector<std::string> platforms; for (auto attr : op.getPlatforms().getAsRange<StringAttr>()) { platforms.push_back(attr.getValue().str()); }
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
def TFL_BoolFalse : AttrConstraint< CPred<"$_self.isa<BoolAttr>() && !$_self.cast<BoolAttr>().getValue()">, "whose value is false">; class TFL_StringEqualsTo<string value> : AttrConstraint< CPred<"$_self.cast<StringAttr>().getValue() == \"" # value # "\"">, "whose value equals to '" # value # "'">; // Ensures the array attribute's size is within the given maximum size. class TFL_ArrayMaxCount<int n> : AttrConstraint<
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0)