- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 85 for ret_attrs (0.53 sec)
-
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
// construction. llvm::SmallVector<mlir::NamedAttrList, 4> arg_attrs; arg_attrs.resize(func.getNumArguments()); llvm::SmallVector<mlir::NamedAttrList, 4> ret_attrs; ret_attrs.resize(func.getNumResults()); auto set_attributes_on_func = [&](Node* node, int64_t index, bool is_arg) { for (const auto& node_attr : node->attrs()) { const auto& key = node_attr.first;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
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/tensorflow/utils/tf_to_uniform_attribute_utils.cc
attrs.push_back(rewriter.getNamedAttr("output_quantization_axis", rewriter.getI64IntegerAttr(quant_dim))); op->setAttrs(rewriter.getDictionaryAttr(attrs)); return success(); } // This LogicalResult covers both the hybrid and fully quantized op cases. LogicalResult FillAttributesForUniformQuantizedConvolutionOp(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
auto& info = resource_it.second; if (info.is_read) { Operation* read = builder.create<TF::ReadVariableOp>( op_->getLoc(), info.data_type, resource); read->setAttrs(info.read_attrs ? info.read_attrs : empty_attrs); read->removeAttr(kDeviceAttr); info.hoisted_read = read->getResult(0); } } } // Replaces all resource reads with the hoisted read.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
nested_module->emitOpError("unexpected already present outlined module."); return signalPassFailure(); } ModuleOp outlined_module = ModuleOp::create(getOperation().getLoc()); outlined_module->setAttrs(getOperation()->getAttrDictionary()); outlined_module->setAttr(SymbolTable::getSymbolAttrName(), StringAttr::get(ctx, kNestedModule)); symbol_table.insert(outlined_module);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
pkg/registry/resource/resourceclassparameters/strategy.go
func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate { return storage.SelectionPredicate{ Label: label, Field: field, GetAttrs: GetAttrs, } } // GetAttrs returns labels and fields of a given object for filtering purposes. func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) { parameters, ok := obj.(*resource.ResourceClassParameters) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 15:15:31 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/registry/resource/resourceclaimparameters/strategy.go
func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate { return storage.SelectionPredicate{ Label: label, Field: field, GetAttrs: GetAttrs, } } // GetAttrs returns labels and fields of a given object for filtering purposes. func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) { parameters, ok := obj.(*resource.ResourceClaimParameters) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 15:15:31 UTC 2024 - 3.4K bytes - Viewed (0) -
pkg/registry/resource/resourceclaim/strategy.go
func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate { return storage.SelectionPredicate{ Label: label, Field: field, GetAttrs: GetAttrs, } } // GetAttrs returns labels and fields of a given object for filtering purposes. func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) { claim, ok := obj.(*resource.ResourceClaim) if !ok { return nil, nil, errors.New("not a resourceclaim")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 20:39:24 UTC 2024 - 5.3K bytes - Viewed (0) -
pkg/registry/resource/podschedulingcontext/strategy.go
func Match(label labels.Selector, field fields.Selector) storage.SelectionPredicate { return storage.SelectionPredicate{ Label: label, Field: field, GetAttrs: GetAttrs, } } // GetAttrs returns labels and fields of a given object for filtering purposes. func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) { scheduling, ok := obj.(*resource.PodSchedulingContext) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 20:39:24 UTC 2024 - 5.6K bytes - Viewed (0) -
pkg/registry/resource/resourceslice/strategy.go
slice, ok := obj.(*resource.ResourceSlice) if !ok { return nil, fmt.Errorf("not a ResourceSlice") } return []string{slice.NodeName}, nil } // GetAttrs returns labels and fields of a given object for filtering purposes. func GetAttrs(obj runtime.Object) (labels.Set, fields.Set, error) { slice, ok := obj.(*resource.ResourceSlice) if !ok { return nil, nil, fmt.Errorf("not a ResourceSlice") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 21:22:55 UTC 2024 - 4.4K bytes - Viewed (0)