- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for ret_attrs (0.18 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
.getValue(), ftype); func->setAttrs(graph_func->getAttrs()); llvm::SmallVector<Type> arg_types; llvm::SmallVector<Type> res_types; llvm::SmallVector<DictionaryAttr> arg_attrs; llvm::SmallVector<DictionaryAttr> res_attrs; if (failed(FilterTfgSpecificArgResultAttributes(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc
// {attribute_name, attribute_value} pair. llvm::SmallDenseMap<NamedAttribute, Operation*> attr_to_op_map; for (Operation* op : ops) { for (const NamedAttribute named_attr : op->getAttrs()) { attr_to_op_map.insert({named_attr, op}); } } for (int idx : llvm::seq<int>(0, attributes.size())) { const NamedAttribute& attribute = attributes[idx];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
AttrValue* value) { TF_RETURN_IF_ERROR(ConvertAttribute( mlir::cast<mlir::FlatSymbolRefAttr>(attr.getName()), value)); TF_RETURN_IF_ERROR(ConvertAttributes(attr.getAttrs().getValue(), /*attrs_to_ignore=*/{}, remove_ref_type, value->mutable_func()->mutable_attr())); return absl::OkStatus(); }
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/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc
} xla::ConvolutionDimensionNumbers dnums = ConvertConvolutionDimensionNumbers(dnums_input); SmallVector<NamedAttribute> converted_attrs; for (auto attr : op->getAttrs()) { if (attr.getName() == op.getFeatureGroupCountAttrName() || attr.getName() == op.getBatchGroupCountAttrName()) { converted_attrs.push_back(attr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 30.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
assert(funcs_for_cluster != tpu_funcs.end()); assert(!funcs_for_cluster->second.empty()); if (funcs_for_cluster->second.size() == 1) return false; for (NamedAttribute attr : op->getAttrs()) { auto symbol_ref = mlir::dyn_cast<FlatSymbolRefAttr>(attr.getValue()); if (!symbol_ref) continue; func::FuncOp callee = symbol_table.lookup<func::FuncOp>(symbol_ref.getValue());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 27.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go
} originalRevision = out.(metav1.Object).GetResourceVersion() } // prepare result and pred pred := storage.SelectionPredicate{ Label: tc.selector, Field: fields.Everything(), GetAttrs: func(obj runtime.Object) (labels.Set, fields.Set, error) { pod, ok := obj.(*examplev1.Pod) if !ok { return nil, nil, fmt.Errorf("not a pod") } return pod.ObjectMeta.Labels, fields.Set{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 26.5K bytes - Viewed (0)