Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for WithOpName (0.14 sec)

  1. tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen.cc

                      out, "    Input ", arg.name(),
                      "_0 = ", "tensorflow::ops::Placeholder(scope.WithOpName(\"",
                      arg.name(), "\"), ", type, ");\n");
                  strings::StrAppend(
                      out, "    Input ", arg.name(),
                      "_1 = ", "tensorflow::ops::Placeholder(scope.WithOpName(\"",
                      arg.name(), "\"), ", type, ");\n");
                  strings::StrAppend(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jan 27 16:26:51 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/device_executable_persistor_test.cc

        auto a = ops::_Arg(scope.WithOpName("A"), DT_INT32, 0);
        auto b = ops::_Arg(scope.WithOpName("B"), DT_INT32, 1);
        if (mul) {
          auto c = ops::Mul(scope.WithOpName("C"), a, b);
          auto d = ops::_Retval(scope.WithOpName("D"), c, 0);
          TF_RETURN_IF_ERROR(scope.ToGraph(graph.get()));
        } else {
          auto c = ops::Add(scope.WithOpName("C"), a, b);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/scope.h

    /// created within the scope, and WithOpName() changes the suffix which
    /// otherwise defaults to the type of the op.
    ///
    /// Name examples:
    ///
    ///     Scope root = Scope::NewRootScope();
    ///     Scope linear = root.NewSubScope("linear");
    ///     // W will be named "linear/W"
    ///     auto W = Variable(linear.WithOpName("W"),
    ///                       {2, 2}, DT_FLOAT);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:08:33 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/device_compiler_test.cc

      std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global()));
      Scope scope = Scope::NewRootScope().ExitOnError();
      auto a = ops::_Arg(scope.WithOpName("A"), DT_INT32, 0);
      auto b = ops::_Arg(scope.WithOpName("B"), DT_INT32, 1);
      auto c = ops::Add(scope.WithOpName("C"), a, b);
      auto d = ops::_Retval(scope.WithOpName("D"), c, 0);
      TF_RETURN_IF_ERROR(scope.ToGraph(graph.get()));
      return graph;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 19.8K bytes
    - Viewed (0)
Back to top