- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for get_attr (0.15 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc
LogicalResult matchAndRewrite(TF::PartitionedCallOp call_op, PatternRewriter& rewriter) const override { const auto f_attr = mlir::dyn_cast<FlatSymbolRefAttr>(call_op.getFAttr()); // removeAttr will return nullptr if no attribute was removed. if (!call_op->removeAttr(kQuantTraitAttrName) || !f_attr) { return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 54.5K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf.go
a.Atr = attr a.Cls = uint8(cls) a.Value = value a.Data = data } // Each DIE (except the root ones) has at least 1 attribute: its // name. getattr moves the desired one to the front so // frequently searched ones are found faster. func getattr(die *dwarf.DWDie, attr uint16) *dwarf.DWAttr { if die.Attr.Atr == attr { return die.Attr } a := die.Attr b := a.Link for b != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 16:25:18 UTC 2024 - 72.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
// use it in exports or if there are breaking changes module->setAttr("tfl.schema_version", builder.getI32IntegerAttr(model->version)); if (!model->description.empty()) { module->setAttr("tfl.description", builder.getStringAttr(model->description)); } if (!metadata_attrs.empty()) { module->setAttr("tfl.metadata", builder.getDictionaryAttr(metadata_attrs)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td
func::FuncOp ResolveFunc(::mlir::SymbolTableCollection* table) { if (table) return table->lookupNearestSymbolFrom<func::FuncOp>(*this, getFAttr()); return SymbolTable::lookupNearestSymbolFrom<func::FuncOp>(*this, getFAttr()); } // TODO(b/204997177): Deprecate and remove. func::FuncOp func() { return ResolveFunc(nullptr); } }]; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 90.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/store_tests.go
// doesn't automatically preclude some scenarios from happening. t.Parallel() if ignoreWatchCacheTests && tt.ignoreForWatchCache { t.Skip() } if tt.pred.GetAttrs == nil { tt.pred.GetAttrs = getAttrs } out := &example.PodList{} storageOpts := storage.ListOptions{ ResourceVersion: tt.rv, ResourceVersionMatch: tt.rvMatch, Predicate: tt.pred,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 12:45:33 UTC 2024 - 91.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
llvm::all_of(op->getResultTypes(), is_not_variant); }; auto is_set_item_legal = [](Operation *op) { return op->hasAttr("resize_if_index_out_of_bounds") && op->getAttr("resize_if_index_out_of_bounds") .cast<mlir::BoolAttr>() .getValue(); }; ConversionTarget target(*context);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go
if e1 != 0 { err = errnoErr(e1) } return } var libc_getxattr_trampoline_addr uintptr //go:cgo_import_dynamic libc_getxattr getxattr "/usr/lib/libSystem.B.dylib" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) { var _p0 *byte _p0, err = BytePtrFromString(attr) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 66.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
auto new_call = builder.create<CallOpType>( call_op.getLoc(), lifting_info.lifted_callee.getFunctionType().getResults(), new_operands, call_op->getAttrs()); new_call->setAttr("f", SymbolRefAttr::get(builder.getContext(), lifting_info.lifted_callee.getName())); AddLoadsStoresOutsideControlFlowOp(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go
if e1 != 0 { err = errnoErr(e1) } return } var libc_getxattr_trampoline_addr uintptr //go:cgo_import_dynamic libc_getxattr getxattr "/usr/lib/libSystem.B.dylib" // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT func fgetxattr(fd int, attr string, dest *byte, size int, position uint32, options int) (sz int, err error) { var _p0 *byte _p0, err = BytePtrFromString(attr) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 66.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_zos_s390x.go
return syscall.Exec(argv0, argv, envv) } func Getag(path string) (ccsid uint16, flag uint16, err error) { var val [8]byte sz, err := Getxattr(path, "ccsid", val[:]) if err != nil { return } ccsid = uint16(EncodeData(val[0:sz])) sz, err = Getxattr(path, "flags", val[:]) if err != nil { return } flag = uint16(EncodeData(val[0:sz]) >> 15) return } // Mount begin
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 84.4K bytes - Viewed (0)