- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for NodeBuilder (0.35 sec)
-
pkg/scheduler/framework/plugins/volumebinding/test_utils.go
"k8s.io/utils/ptr" ) type nodeBuilder struct { *v1.Node } func makeNode(name string) nodeBuilder { return nodeBuilder{Node: &v1.Node{ ObjectMeta: metav1.ObjectMeta{ Name: name, Labels: map[string]string{ v1.LabelHostname: name, }, }, }} } func (nb nodeBuilder) withLabel(key, value string) nodeBuilder { if nb.Node.ObjectMeta.Labels == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 13 07:42:19 UTC 2023 - 4.9K bytes - Viewed (0) -
tensorflow/cc/ops/while_loop.cc
// not-yet-created next iteration nodes). Use the underlying NodeBuilder API // directly to create the back edge. NodeBuilder::NodeOut enter_input(enter_output.node(), enter_output.index()); const int next_output_index = 0; DataType dtype = enter_output.node()->output_type(0); NodeBuilder::NodeOut next_input(NextIterationName(scope, loop_var_idx),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 01:01:21 UTC 2024 - 9.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/dump_graph_test.cc
return errors::Unimplemented("Stream not seekable"); } private: string& str_; }; TEST(Dump, TextualIrToFileSuccess) { Graph graph(OpRegistry::Global()); Node* node; TF_CHECK_OK(NodeBuilder("A", "NoOp").Finalize(&graph, &node)); setenv("TF_DUMP_GRAPH_PREFIX", testing::TmpDir().c_str(), 1); UseMlirForGraphDump(MlirDumpConfig()); string ret = DumpGraphToFile("tir", graph);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 03:47:51 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compile_util.cc
// dependency edge to the _SOURCE node. for (int64_t i = 0, end = args.size(); i < end; ++i) { Node* node; string arg_name = absl::StrCat("_arg", i); Status status = NodeBuilder(arg_name, FunctionLibraryDefinition::kArgOp) .ControlInput(graph->source_node()) .Attr("T", args[i].kind == XlaArgument::kResource ? DT_RESOURCE
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/cc/framework/cc_op_gen_util.h
const ApiDef& api_def, const std::unordered_map<string, string>& inferred_input_attrs); struct OpInfo { // graph_op_def: The OpDef used by the runtime, has the names that // must be used when calling NodeBuilder. // interface_op_def: The OpDef used in the interface in the generated // code, with possibly overridden names and defaults. OpInfo(const OpDef& graph_op_def, const ApiDef& api_def,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:57:05 UTC 2024 - 4.6K bytes - Viewed (0) -
subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildMinimalConfigurationIntegrationTest.groovy
""" then: execute(buildA, ":run", buildArgs) and: output.count('Configured buildB') == 1 } void resolvedGraph(@DelegatesTo(ResolveTestFixture.NodeBuilder) Closure closure) { resolve.prepare() execute(buildA, ":checkDeps", buildArgs) resolve.expectGraph { root(":", "org.test:buildA:1.0", closure) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Dec 01 20:36:42 UTC 2022 - 6.4K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
TF_OperationDescription(TF_Graph* g, const char* op_type, const char* node_name) : node_builder(node_name, op_type, g->graph.op_registry()), graph(g) {} tensorflow::NodeBuilder node_builder; TF_Graph* graph; std::set<tensorflow::string> colocation_constraints; }; struct TF_Operation { tensorflow::Node node; private: ~TF_Operation() = default; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat May 13 00:49:12 UTC 2023 - 7.6K bytes - Viewed (0)