Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for node_builder1 (0.26 sec)

  1. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

        Node* s1 = Sequencer(
            b2.opts().WithName("F1_sequencer").WithControlInputs({recv1, send1}),
            "F1");
    
        NodeBuilder node_builder1("F1", "F1", lib_def.get());
        node_builder1.Input(a).Input(b);
        Node* call1 =
            b2.opts().WithControlInputs({s1, b}).FinalizeBuilder(&node_builder1);
    
        Node* key_constant2 =
            KeyPlaceholder("F2", b2.opts().WithName("F2_key_placeholder"));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
  2. tensorflow/cc/ops/const_op.h

    #include "tensorflow/cc/framework/scope.h"
    #include "tensorflow/core/graph/node_builder.h"
    
    namespace tensorflow {
    namespace ops {
    
    /// @defgroup const_op Const Op
    /// @{
    
    Output Const(const Scope& scope, const Input::Initializer& val);
    
    Output ConstFromProto(const Scope& scope, const TensorProto& proto);
    
    NodeBuilder::NodeOut AsNodeOut(const Scope& scope, const Input& inp);
    
    template <typename T>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 17 09:17:01 UTC 2020
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/utils/dump_graph_test.cc

    ==============================================================================*/
    
    #include "tensorflow/compiler/mlir/tensorflow/utils/dump_graph.h"
    
    #include "tensorflow/core/graph/graph.h"
    #include "tensorflow/core/graph/node_builder.h"
    #include "tensorflow/core/lib/core/status_test_util.h"
    #include "tensorflow/core/lib/io/path.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/test.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/cluster_scoping_pass_test.cc

                      .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) {
      std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global()));
      {
        // Graph:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 29 16:20:48 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/xla_compile_util.cc

    #include "tensorflow/core/framework/op_kernel.h"
    #include "tensorflow/core/framework/resource_mgr.h"
    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/graph/algorithm.h"
    #include "tensorflow/core/graph/node_builder.h"
    #include "tensorflow/core/tfrt/common/global_state.h"
    #include "tensorflow/core/util/determinism.h"
    
    namespace tensorflow {
    namespace {
    constexpr const char* kPjRtDeviceCompilerResourceName = "pjrt_device_compiler";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/internal/mlir_bridge_pass_util_test.cc

      Scope root = Scope::NewRootScope().ExitOnError();
    
      Output a = ops::_Arg(root.WithOpName("A"), DT_RESOURCE, 0);
      std::vector<NodeBuilder::NodeOut> inputs({NodeBuilder::NodeOut(a.node())});
    
      Node* call;
      NameAttrList f_name_attr;
      f_name_attr.set_name(fd.signature().name());
      TF_ASSERT_OK(
          NodeBuilder("B", "StatefulPartitionedCall", &root.graph()->flib_def())
              .Input(inputs)
              .Attr("Tin", {DT_RESOURCE})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 19:51:50 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. tensorflow/c/kernels/summary_op_benchmark_test.cc

    #include <string>
    
    #include "tensorflow/core/common_runtime/kernel_benchmark_testlib.h"
    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/graph/node_builder.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/platform/test_benchmark.h"
    
    namespace tensorflow {
    namespace {
    
    Graph* BM_ScalarSummaryOp(TensorShape shape, std::string tag, float value) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 25 00:59:20 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  8. 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)
  9. tensorflow/c/c_api_internal.h

    };
    
    struct TF_OperationDescription {
      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:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/resolve/ResolveTestFixture.groovy

            }
        }
    
        static class GraphBuilder {
            private final Map<String, NodeBuilder> nodes = [:]
            private NodeBuilder root
    
            final Set<String> virtualConfigurations = []
    
            Collection<NodeBuilder> getNodes() {
                return nodes.values()
            }
    
            Collection<NodeBuilder> getNodesWithoutRoot() {
                def nodes = new HashSet<>()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 37.8K bytes
    - Viewed (0)
Back to top