- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for ParsedName (0.2 sec)
-
src/crypto/x509/verify.go
// given name, of type nameType. The argument parsedName contains the parsed // form of name, suitable for passing to the match function. The total number // of comparisons is tracked in the given count and should not exceed the given // limit. func (c *Certificate) checkNameConstraints(count *int, maxConstraintComparisons int, nameType string, name string, parsedName any,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:58:39 UTC 2024 - 35.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc
#include "tensorflow/core/util/device_name_utils.h" namespace mlir { namespace TF { namespace { using DeviceNameUtils = ::tensorflow::DeviceNameUtils; using ParsedName = ::tensorflow::DeviceNameUtils::ParsedName; constexpr const char *kHostAttr = "host"; constexpr const char *kDeviceAttr = "device"; constexpr const char *kTFDeviceAttr = "tf.device";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 13.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc
// LINT.IfChange auto device_id = StringAttr::get(call->getContext(), "device"); auto caller_device = call->getAttrOfType<StringAttr>(device_id); if (!caller_device) return; DeviceNameUtils::ParsedName caller_parsed_device; if (!DeviceNameUtils::ParseFullName(caller_device.getValue().str(), &caller_parsed_device)) return; MLIRContext *context = call->getContext();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
// Find and return a function record added by its name. virtual core::RefCountPtr<FunctionRecord> FindRecord( const string& name) const = 0; // Return the ParsedName of Host CPU device. virtual const DeviceNameUtils::ParsedName& HostCPUParsedName() const = 0; virtual const string& HostCPUName() const = 0; // Configure soft device placement policy. virtual void SetAllowSoftPlacement(bool enable) = 0;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 06 08:34:00 UTC 2023 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
constexpr char kTPUReplicatedHost[] = "TPU_REPLICATED_HOST"; constexpr char kBadIntArrayElementMsg[] = "bad '{0}' attribute at index {1}, not an int"; using ParsedDevice = DeviceNameUtils::ParsedName; using ParsedDevices = llvm::ArrayRef<DeviceNameUtils::ParsedName>; namespace { // Find matching devices in `devices` based on pattern `spec`. llvm::SmallVector<ParsedDevice, 8> FindMatchingDevices( ParsedDevices devices, const ParsedDevice& spec) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
} result.emplace(std::move(per_device_outputs)); return result; } std::vector<std::string> ParallelDevice::SummarizeDeviceNames() const { std::vector<DeviceNameUtils::ParsedName> parsed_components( underlying_devices_.size()); for (int component_index = 0; component_index < underlying_devices_.size(); ++component_index) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 09 07:47:20 UTC 2024 - 25.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_dynamic_layout_pass.cc
} else { device = alias.getDefiningOp()->getAttrOfType<StringAttr>(kDeviceAttr); } if (!device) return false; tensorflow::DeviceNameUtils::ParsedName parsed_device; if (!tensorflow::DeviceNameUtils::ParseFullName(device.getValue().str(), &parsed_device)) { return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h
// replica_device_ids: 3 // replica_device_ids: 7 // } // } absl::StatusOr<TPUDeviceAssignment> GetTPUCompilationAndExecutionDevices( llvm::ArrayRef<DeviceNameUtils::ParsedName> devices, int num_replicas, int num_cores_per_replica, llvm::StringRef topology_attr, llvm::ArrayRef<int64_t> device_assignment_attr);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 11.3K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
DLDevice GetDlContext(TFE_TensorHandle* h, TF_Status* status) { DLDevice ctx; const char* device_name = tensorflow::unwrap(h)->BackingDeviceName(&status->status); DeviceNameUtils::ParsedName parsed_name; tensorflow::DeviceNameUtils::ParseFullName(device_name, &parsed_name); std::string device_type = parsed_name.type; int device_id = 0; if (parsed_name.has_id) { device_id = parsed_name.id;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 12.8K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_xla_computations_pass.cc
string name; // Only consider nodes being compiled. if (!TryGetNodeAttr(n->attrs(), kXlaClusterIdAttr, &name)) continue; // Early return for any node with a device that is not a CPU or GPU. DeviceNameUtils::ParsedName parsed; if (DeviceNameUtils::ParseFullName(n->requested_device(), &parsed)) { if (parsed.type != DEVICE_CPU && parsed.type != DEVICE_GPU) { return false; } } } return true; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 15.1K bytes - Viewed (0)