- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 38 for attr_ (0.08 sec)
-
tensorflow/compiler/jit/xla_tpu_device.cc
const DeviceAttributes attrs = Device::BuildDeviceAttributes( absl::StrCat(name_prefix, "/device:", DEVICE_TPU_SYSTEM, ":", 0), DeviceType(DEVICE_TPU_SYSTEM), Bytes(memory_limit), DeviceLocality(), absl::StrCat("device: ", DEVICE_TPU_SYSTEM, " device")); devices->push_back(std::make_unique<VirtualDevice>(options.env, attrs));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 22:53:47 UTC 2024 - 20.9K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device.cc
return xla::ClientLibrary::GetOrCreateLocalClient(options); } Allocator* XlaDevice::GetAllocator(AllocatorAttributes attr) { mutex_lock lock(mu_); return GetAllocatorLocked(attr); } Allocator* XlaDevice::GetAllocatorLocked(AllocatorAttributes attr) { if (attr.on_host()) { return cpu_allocator(); } if (xla_allocator_ == nullptr) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 21:05:42 UTC 2024 - 24.3K bytes - Viewed (0) -
src/os/exec.go
// higher-level interfaces. // // If there is an error, it will be of type [*PathError]. func StartProcess(name string, argv []string, attr *ProcAttr) (*Process, error) { testlog.Open(name) return startProcess(name, argv, attr) } // Release releases any resources associated with the [Process] p, // rendering it unusable in the future. // Release only needs to be called if [Process.Wait] is not.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 12.8K bytes - Viewed (0) -
internal/config/identity/ldap/ldap.go
func (l *Config) GetValidatedDNUnderBaseDN(conn *ldap.Conn, dn string, baseDNList []xldap.BaseDNInfo, attrs []string) (*xldap.DNSearchResult, bool, error) { if len(baseDNList) == 0 { return nil, false, errors.New("no Base DNs given") } // Check that DN exists in the LDAP directory. searchRes, err := xldap.LookupDN(conn, dn, attrs) if err != nil { return nil, false, fmt.Errorf("Error looking up DN %s: %w", dn, err) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Sat May 25 13:43:06 UTC 2024 - 10.3K bytes - Viewed (1) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
try_use_original_func_name(node_def.mutable_op()); // Change any function attributes in the attrs. 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()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
internal/bucket/object/lock/lock.go
return nil } // Config - object lock configuration specified in // https://docs.aws.amazon.com/AmazonS3/latest/API/Type_API_ObjectLockConfiguration.html type Config struct { XMLNS string `xml:"xmlns,attr,omitempty"` XMLName xml.Name `xml:"ObjectLockConfiguration"` ObjectLockEnabled string `xml:"ObjectLockEnabled"` Rule *struct { DefaultRetention DefaultRetention `xml:"DefaultRetention"`
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 17.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc
// the bound of i32, the function returns a failure. LogicalResult ConvertToI32Attr(IntegerAttr attr, IntegerAttr* attr_i32) { if (attr.getType().isInteger(/*width=*/32)) { *attr_i32 = attr; return success(); } int64_t value = attr.getInt(); if (value > std::numeric_limits<int>::max() || value < std::numeric_limits<int>::min()) { return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 20:06:54 UTC 2024 - 45.2K bytes - Viewed (0) -
src/cmd/internal/obj/link.go
} // TextAttrString formats the symbol attributes for printing in as part of a TEXT prog. func (s *LSym) TextAttrString() string { attr := s.Attribute.String() if s.Func().FuncFlag&abi.FuncFlagTopFrame != 0 { if attr != "" { attr += "|" } attr += "TOPFRAME" } return attr } func (s *LSym) String() string { return s.Name }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0) -
src/net/http/cookie.go
Raw: line, } for i := 1; i < len(parts); i++ { parts[i] = textproto.TrimString(parts[i]) if len(parts[i]) == 0 { continue } attr, val, _ := strings.Cut(parts[i], "=") lowerAttr, isASCII := ascii.ToLower(attr) if !isASCII { continue } val, _, ok = parseCookieValue(val, false) if !ok { c.Unparsed = append(c.Unparsed, parts[i]) continue }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 13.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc
"Could not find attribute: " + attribute.getName().str()); return failure(); } Operation* owner_op; for (const auto& [attr, val] : attr_to_op_map) { if (attr.getName() == attribute.getName()) owner_op = val; } if (stablehlo::IsStablehloOp(owner_op)) { owner_op->setAttr(StringRef(attribute.getName()), attribute.getValue()); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.8K bytes - Viewed (0)