Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for NodeBuilder (0.35 sec)

  1. tensorflow/cc/framework/scope.h

      // START_SKIP_DOXYGEN
    
      /// Update the builder with properties accumulated in this scope. Does not set
      /// status().
      // TODO(skyewm): NodeBuilder is not part of public API
      void UpdateBuilder(NodeBuilder* builder) const;
      // END_SKIP_DOXYGEN
    
      CompositeOpScopes GetCompositeOpScopes(const string& composite_op_name) const;
    
      bool ok() const;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:08:33 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. tensorflow/c/kernels/summary_op_benchmark_test.cc

      Tensor values(DT_FLOAT, shape);
      for (int i = 0; i < tags.NumElements(); ++i) {
        tags.flat<tstring>()(i) = tag;
        values.flat<float>()(i) = value;
      }
      Node* ret;
      TF_CHECK_OK(NodeBuilder(g->NewName("dummy"), "ScalarSummary")
                      .Input(test::graph::Constant(g, tags))
                      .Input(test::graph::Constant(g, values))
                      .Attr("T", DT_FLOAT)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 25 00:59:20 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. tensorflow/compiler/jit/cluster_scoping_pass_test.cc

      auto opts = builder.opts()
                      .WithName(std::move(name))
                      .WithAttr("dtypes", std::move(dtypes));
      if (opts.HaveError()) {
        return nullptr;
      }
    
      NodeBuilder node_builder(name, "Stage", opts.op_registry());
      node_builder.Input(values);
      return opts.FinalizeBuilder(&node_builder);
    }
    
    TEST(XlaCompilationTest, StagePipelinePreserved) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 29 16:20:48 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  6. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDependencyCycleIntegrationTest.groovy

        }
    
        protected void resolveFails(String task) {
            resolve.prepare()
            super.fails(buildA, task, arguments)
        }
    
    
        void checkGraph(@DelegatesTo(ResolveTestFixture.NodeBuilder) Closure closure) {
            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
    - 12.1K bytes
    - Viewed (0)
  7. tensorflow/cc/framework/scope.cc

        GraphDef graph_def;
        graph()->ToGraphDef(&graph_def);
        UpdateStatus(ConvertGraphDefToGraph(opts, std::move(graph_def), g));
      }
      return *impl()->status_;
    }
    
    void Scope::UpdateBuilder(NodeBuilder* builder) const {
      std::vector<Node*> control_inputs;
      for (const auto& op : impl()->control_deps_) {
        control_inputs.push_back(op.node());
      }
      builder->ControlInputs(control_inputs);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. 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)
  9. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildDeclaredSubstitutionsIntegrationTest.groovy

                    id("foo")
                }
            """)
    
            then:
            execute(buildA, ":buildC:dependencies")
        }
    
        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
    - 14.4K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/ConfigurationMutationIntegrationTest.groovy

            failure.assertHasCause("Cannot change dependencies of dependency configuration ':conf' after it has been included in dependency resolution.")
        }
    
        void resolvedGraph(@DelegatesTo(ResolveTestFixture.NodeBuilder) Closure closure) {
            resolve.prepare()
            succeeds ":checkDeps"
    
            resolve.expectGraph {
                root(":", "org.test:root:1.1", closure)
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 07 19:31:56 UTC 2024
    - 14.8K bytes
    - Viewed (0)
Back to top