Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for be (0.17 sec)

  1. tensorflow/c/c_api_function_test.cc

      DefineFunction("MyGrad1", &grad_func1);
      DefineFunction("MyGrad2", &grad_func2);
    
      // func cannot be null
      TF_GraphCopyFunction(host_graph_, nullptr, func_, s_);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(string("'func' argument to TF_GraphCopyFunction cannot be null"),
                string(TF_Message(s_)));
    
      // Cannot change gradient
    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)
  2. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // defined by `filesystem_interface.h`.
    //
    // As some filesystems require special setup, these tests are run manually.
    //
    // Each filesystem implementation can be provided by DSOs, so we provide the
    // `--dsos` flag to specify a list of shared objects to be loaded in order.
    // If the flag is not used, no shared objects are loaded.
    //
    // Every filesystem provides support for accessing URIs of form
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      TF_Output feed_out_0 = TF_Output{feed, 0};
      int num_dims;
    
      // Fetch the shape, it should be completely unknown.
      num_dims = TF_GraphGetTensorNumDims(graph, feed_out_0, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      EXPECT_EQ(-1, num_dims);
    
      // Set the shape to be unknown, expect no change.
      TF_GraphSetTensorShape(graph, feed_out_0, /*dims=*/nullptr, -1, 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)
  4. tensorflow/c/eager/c_api_test.cc

          // and hence expect the input to be forwarded to the return tensor.
          EXPECT_EQ(orig_ptr, TF_TensorData(t));
        } else {
          // In sync mode, forwarding can't really happen since the client code will
          // have a reference count on the input tensor while the kernel is being
          // executed and thus it cannot be re-used for the return tensor.
          EXPECT_NE(orig_ptr, TF_TensorData(t));
    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)
Back to top