Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for to (0.13 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_EQ(2, num_dims);
      EXPECT_EQ(2, returned_dims[0]);
      EXPECT_EQ(3, returned_dims[1]);
    
      // Try to fetch a shape with the wrong num_dims
      TF_GraphGetTensorShape(graph, feed_out_0, returned_dims, 5, s);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s)) << TF_Message(s);
    
      // Try to set an invalid shape (cannot change 2x3 to a 2x5).
      dims[1] = 5;
      TF_GraphSetTensorShape(graph, feed_out_0, dims, 2, s);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  2. tensorflow/c/eager/c_api_test.cc

      if (async) {
        if (forward_input) {
          // Since the input was forwarded, we released the input handle right away
          // and hence expect the input to be forwarded to the return tensor.
          EXPECT_EQ(orig_ptr, TF_TensorData(t));
        } else {
          // In async mode we expect forwarding to work without releasing the input
          // handle since by the time the kernel is executed we have released the
          // handle in the client code.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  3. tensorflow/BUILD

    # 'enable_registration_v2' opts-in to a different implementation of op and
    # kernel registration - REGISTER_OP, REGISTER_KERNEL_BUILDER, etc.
    #
    # This setting is currently experimental. The 'v2' implementation does _not_
    # correspond to a particular, finalized design; rather, it relates to
    # developing one.
    #
    # The current aim of the 'v2' implementation is to allow 'unused' ops and
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  4. tensorflow/c/c_api_function_test.cc

      TF_Operation* feed2 = Placeholder(func_graph_, s_, "feed2");
    
      // Outputs of the while loop corresponding to the two inputs above
      // The first one will the function's output
      std::vector<TF_Output> outputs;
    
      // Add while loop to func_graph_
      {
        // The inputs to the while loop
        std::vector<TF_Output> inputs = {{feed1, 0}, {feed2, 0}};
        std::unique_ptr<TF_WhileParams> params(new TF_WhileParams(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  5. configure.py

          error_msg='Invalid gcc path. %s cannot be found.',
      )
    
      write_action_env_to_bazelrc('GCC_HOST_COMPILER_PATH', gcc_host_compiler_path)
    
    
    def choose_compiler(environ_cp):
      question = 'Do you want to use Clang to build TensorFlow?'
      yes_reply = 'Clang will be used to compile TensorFlow.'
      no_reply = 'GCC will be used to compile TensorFlow.'
      var = int(
          get_var(
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (1)
  6. .bazelrc

    # --incompatible_remove_legacy_whole_archive flag does.
    # This flag is set to true in Bazel 1.0 and newer versions. We tried to migrate
    # Tensorflow to the default, however test coverage wasn't enough to catch the
    # errors.
    # There is ongoing work on Bazel team's side to provide support for transitive
    # shared libraries. As part of migrating to transitive shared libraries, we
    # hope to provide a better mechanism for control over symbol exporting, and
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  7. tensorflow/c/c_api.h

    // size `nx`.
    //
    // Gradient nodes are automatically named under the "gradients/" prefix. To
    // guarantee name uniqueness, subsequent calls to the same graph will
    // append an incremental tag to the prefix: "gradients_1/", "gradients_2/", ...
    // See TF_AddGradientsWithPrefix, which provides a means to specify a custom
    // name prefix for operations added to a graph to compute the gradients.
    //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top