- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 40 for parseFrame (0.35 sec)
-
src/text/template/parse/lex_test.go
// We expect an error, so the tree set and funcs list are explicitly nil. func (t *Tree) parseLexer(lex *lexer) (tree *Tree, err error) { defer t.recover(&err) t.ParseName = t.Name t.startParse(nil, lex, map[string]*Tree{}) t.parse() t.add() t.stopParse() return t, nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 23 15:03:43 UTC 2022 - 13.9K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_cluster_util.cc
flags->xla_auto_jit_flag.optimization_level_general); } return result; } int GetGpuNumber(const string& device_name) { DeviceNameUtils::ParsedName parsed_name; if (!DeviceNameUtils::ParseFullName(device_name, &parsed_name)) { return -1; } return parsed_name.type == DEVICE_GPU ? parsed_name.id : -1; } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 29 08:39:39 UTC 2024 - 21.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
for (mlir::NamedAttribute attr : attrs) { if (attr.getName().strref().contains( mlir::tfg::TFGraphDialect::getDeviceAttrKey())) { tensorflow::DeviceNameUtils::ParsedName parsed_name; if (!tensorflow::DeviceNameUtils::ParseFullName( mlir::cast<mlir::StringAttr>(attr.getValue()).getValue().str(), &parsed_name)) return mlir::failure();
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/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc
} } return num_results_pre_cluster; } LogicalResult Rewrite( llvm::StringRef module_name, tf_device::ClusterFuncOp cluster_func, llvm::ArrayRef<tensorflow::DeviceNameUtils::ParsedName> devices, ArrayRef<TF::TPUCompilationResultOp> compilation_result, OpBuilder* builder, bool tpu_compile_metadata_debug) { // Fetch the ParallelExecute parent of `cluster_func`, or create it if it does
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 29.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc
TF::IteratorGetNextOp iter = llvm::dyn_cast<TF::IteratorGetNextOp>(op); if (!iter) return false; auto device = op->getAttrOfType<StringAttr>(kDeviceAttr); if (!device) return false; tensorflow::DeviceNameUtils::ParsedName parsed_device; if (!tensorflow::DeviceNameUtils::ParseFullName(device.getValue().str(), &parsed_device)) { return false; } return parsed_device.type == "CPU";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 29.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc
if (auto device = op->getAttrOfType<StringAttr>("device")) { if (!device.getValue().empty() && !device.getValue().str().empty()) { tensorflow::DeviceNameUtils::ParsedName name; if (tensorflow::DeviceNameUtils::ParseFullName(device.str(), &name)) { if (name.type == "TPU_REPLICATED_CORE") { // TODO(hanxiongwang): Add check for out of bound of name.id
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 02:01:13 UTC 2024 - 28.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util_test.cc
auto status = tensorflow::DeserializeMlirModule(string, context, &mlir_module); if (!status.ok()) { return status; } return mlir_module; } using Device = DeviceNameUtils::ParsedName; bool DeviceNamesToParsedNames(llvm::ArrayRef<std::string> device_names, llvm::SmallVectorImpl<Device>* parsed_devices) { parsed_devices->reserve(device_names.size());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 46.8K bytes - Viewed (0) -
cmd/peer-rest-server.go
} pattern := event.NewPattern(prefix, suffix) var eventNames []event.Name var mask pubsub.Mask for _, ev := range values[peerRESTListenEvents] { eventName, err := event.ParseName(ev) if err != nil { return grid.NewRemoteErr(err) } mask.MergeMaskable(eventName) eventNames = append(eventNames, eventName) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 52.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
// NodeDef can contain partial TF device names. In such cases, canonicalize // it. Note that in current TF, placer will place full device name to each // node. DeviceNameUtils::ParsedName parsed_name; if (!DeviceNameUtils::ParseFullName(node_def.device(), &parsed_name)) { return errors::InvalidArgument( "Op ", op_name, " has invalid device name: ", node_def.device()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"TextNode.NodeType", Field, 0}, {"TextNode.Pos", Field, 1}, {"TextNode.Text", Field, 0}, {"Tree", Type, 0}, {"Tree.Mode", Field, 16}, {"Tree.Name", Field, 0}, {"Tree.ParseName", Field, 1}, {"Tree.Root", Field, 0}, {"VariableNode", Type, 0}, {"VariableNode.Ident", Field, 0}, {"VariableNode.NodeType", Field, 0}, {"VariableNode.Pos", Field, 1}, {"WithNode", Type, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0)