Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for WithOpName (0.14 sec)

  1. tensorflow/cc/tools/freeze_saved_model_test.cc

        Output a = ops::Const(scope.WithOpName("a"), 10.0f, {});
        Output b = ops::Const(scope.WithOpName("b"), 10.0f, {});
        Output c = ops::Mul(scope.WithOpName("c"), a, b);
        if (use_resource) {
          Output var =
              ops::VarHandleOp(scope.WithOpName("var"), DataType::DT_FLOAT, {});
          Output read_var = ops::ReadVariableOp(
              scope.WithOpName("var/Read/ReadVariableOp"), var, DataType::DT_FLOAT);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 07 13:30:31 UTC 2022
    - 21.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/node_matchers_test.cc

      Scope root = Scope::NewRootScope().ExitOnError();
      Output pred = ops::Placeholder(root.WithOpName("pred"), DT_BOOL);
    
      Output data = ops::Placeholder(root.WithOpName("data"), DT_FLOAT);
      ops::Switch sw(root.WithOpName("switch"), data, pred);
      Output add = ops::Add(root.WithOpName("add"), sw.output_true,
                            ops::Placeholder(root.WithOpName("addend"), DT_FLOAT));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 14:43:57 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/shape_inference_test.cc

      auto a = ops::Placeholder(root.WithOpName("A"), DT_FLOAT,
                                ops::Placeholder::Shape({2, 3}));
      auto b = ops::Placeholder(root.WithOpName("B"), DT_FLOAT,
                                ops::Placeholder::Shape({3}));
      auto c = ops::Placeholder(root.WithOpName("C"), DT_FLOAT);
      auto d = ops::Add(root.WithOpName("D"), a, b);
      auto e = ops::Add(root.WithOpName("E"), d, c);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/encapsulate_xla_computations_pass_test.cc

      auto a = ops::Placeholder(scope.WithOpName("A"), DT_INT32);
      auto b = ops::Placeholder(scope.WithOpName("B"), DT_FLOAT);
      auto c = ops::Placeholder(scope.WithOpName("C"), DT_INT32);
      auto d = ops::Placeholder(scope.WithOpName("D"), DT_FLOAT);
      auto u = ops::Placeholder(scope.WithOpName("U"), DT_RESOURCE);
      auto v = ops::Placeholder(scope.WithOpName("V"), DT_RESOURCE);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 16 18:03:15 UTC 2023
    - 14.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/rearrange_function_argument_pass_test.cc

        Output arg0 = ops::_Arg(s.WithOpName("arg0"), DT_RESOURCE, 0);
        Output arg1 = ops::_Arg(s.WithOpName("arg1"), DT_RESOURCE, 1);
        Output arg2 = ops::_Arg(s.WithOpName("arg2"), DT_INT32, 2);
        auto ret0 = ops::_Retval(s.WithOpName("ret0"), arg1, 0);
        auto ret1 = ops::_Retval(s.WithOpName("ret1"), arg0, 1);
        auto ret2 = ops::_Retval(s.WithOpName("ret2"), arg2, 2);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 11:36:41 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_cluster_util_test.cc

      Output a = ops::Const(root.WithOpName("a"), Input::Initializer(0.0));
      Output enter_0 =
          ops::internal::Enter(root.WithOpName("enter_0"), a, "frame_0");
      Output exit_0 = ops::internal::Exit(root.WithOpName("exit_0"), enter_0);
      Output enter_1 =
          ops::internal::Enter(root.WithOpName("enter_1"), a, "frame_1");
      Output exit_1 = ops::internal::Exit(root.WithOpName("exit_1"), enter_1);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/mark_for_compilation_pass_test.cc

      Output cond_a = ops::Placeholder(root.WithOpName("cond_a"), DT_BOOL);
      Output cond_b = ops::Placeholder(root.WithOpName("cond_b"), DT_BOOL);
    
      Output value = ops::Placeholder(root.WithOpName("value"), DT_FLOAT);
    
      ops::Switch switch_a(root.WithOpName("switch_a"), value, cond_a);
      ops::Switch switch_b(root.WithOpName("switch_b"), value, cond_b);
    
      Output tanh_a0 = ops::Tanh(root.WithOpName("tan_a0"), switch_a.output_true);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 10:11:10 UTC 2024
    - 79.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/deadness_analysis_test.cc

      Output id0 = ops::Identity(root.WithOpName("id0"), sw.output_false);
      Output id1 = ops::Identity(root.WithOpName("id1"), sw.output_true);
    
      ops::ControlTrigger ctrl_trigger0(root.WithOpName("ctrl_trigger0"));
      ops::ControlTrigger ctrl_trigger1(root.WithOpName("ctrl_trigger1"));
    
      Output const0 = ops::Const(root.WithOpName("const0"), 1);
      Output const1 = ops::Const(root.WithOpName("const1"), 2);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass_test.cc

      Output input = ops::Placeholder(root.WithOpName("input"), DT_FLOAT);
      Output begin = ops::Placeholder(root.WithOpName("begin"), DT_INT32);
      Output size = ops::Const(root.WithOpName("size"), {-1, 500});
      Output control_pred = ops::Placeholder(root.WithOpName("control"), DT_BOOL);
      Output slice = ops::Slice(root.WithOpName("slice"), input, begin, size);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/clone_constants_for_better_clustering_test.cc

      Output in0 = ops::Placeholder(on_gpu.WithOpName("in0"), DT_FLOAT);
      Output in1 = ops::Placeholder(on_gpu.WithOpName("in1"), DT_FLOAT);
    
      Output perm = ops::Const(on_cpu.WithOpName("perm"), {3, 1, 2, 0});
    
      {
        Output tr0 = ops::Transpose(on_gpu.WithOpName("tr0"), in0, perm);
        Output tr1 = ops::Transpose(on_gpu.WithOpName("tr1"), in1, perm);
      }
    
      std::unique_ptr<Graph> result;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top