- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for mutable_func (0.12 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
SetTensorShapeProto(attr, value->mutable_shape()); return absl::OkStatus(); } Status ConvertAttribute(const mlir::FlatSymbolRefAttr& attr, AttrValue* value) { value->mutable_func()->set_name(attr.getValue().str()); return absl::OkStatus(); } Status ConvertAttribute(const mlir::TF::FuncAttr& attr, bool remove_ref_type, AttrValue* value) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc
if (mlir::isa<mlir::TF::XlaHostComputeOp>(inst) && !inst->hasAttr(kShapeInferenceGraph) && !attrs_to_ignore.contains(kShapeInferenceGraph)) { AttrValue value; value.mutable_func()->set_name(""); (*attributes)[kShapeInferenceGraph] = value; } return absl::OkStatus(); } absl::StatusOr<std::unique_ptr<NodeDef>> ConvertTFDialectOpToNodeDef(
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/translate/export_graphdef.cc
for (auto& iter : attrs) { auto& attr = iter.second; if (attr.has_func()) { try_use_original_func_name(attr.mutable_func()->mutable_name()); } else if (attr.has_list()) { for (auto& func_attr : *attr.mutable_list()->mutable_func()) { try_use_original_func_name(func_attr.mutable_name()); } } } } Status Exporter::AddInstructionNode(Operation* inst) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
for (auto& iter : attrs) { auto& attr = iter.second; if (attr.has_func()) { try_use_original_func_name(attr.mutable_func()->mutable_name()); } else if (attr.has_list()) { for (auto& func_attr : *attr.mutable_list()->mutable_func()) { try_use_original_func_name(func_attr.mutable_name()); } } } } Status Exporter::AddInstructionNode(Operation* inst) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
src/sort/slice.go
// Note: in many situations, the newer [slices.SortStableFunc] function is more // ergonomic and runs faster. func SliceStable(x any, less func(i, j int) bool) { rv := reflectlite.ValueOf(x) swap := reflectlite.Swapper(x) stable_func(lessSwap{less, swap}, rv.Len()) } // SliceIsSorted reports whether the slice x is sorted according to the provided less function. // It panics if x is not a slice. //
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 28 16:40:32 UTC 2023 - 1.8K bytes - Viewed (0)