Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isSame (3.26 sec)

  1. tensorflow/c/c_api_function_test.cc

    // - name of output tensor (in nested "add:z:0" format)
    // dst is either:
    // - output name (as it appears in FunctionDef)
    // - <name_of_node>:<index_of_this_input_into_node> (this looks the same as
    //      output tensor naming, but it the index is actually an input index)
    struct EdgeSpec : public std::pair<string, string> {
      typedef std::pair<string, string> Base;
    
      // Inherit the set of constructors
    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

      std::unique_ptr<WritableFile> same_file;
      status = env_->NewAppendableFile(filepath, &same_file);
      if (!status.ok())
        GTEST_SKIP() << "NewAppendableFile() not supported: " << status;
    
      const std::string more_test_data("qwer");
      EXPECT_EQ(same_file->Append(more_test_data).code(), Code::OK);
      EXPECT_EQ(same_file->Flush().code(), Code::OK);
      EXPECT_EQ(same_file->Close().code(), Code::OK);
    
    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/eager/c_api_test.cc

        if (TF_GetCode(status.get()) != TF_OK) {
          ADD_FAILURE() << tag << " -- " << TF_Message(status.get());
          continue;
        }
        // Copy from device to the same device.
        TFE_TensorHandle* hdevice2 =
            TFE_TensorHandleCopyToDevice(hdevice, ctx, name.c_str(), status.get());
        if (TF_GetCode(status.get()) != TF_OK) {
    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)
  4. tensorflow/c/c_api_test.cc

      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
      EXPECT_EQ(2, num_dims);
      EXPECT_EQ(2, returned_dims[0]);
      EXPECT_EQ(3, returned_dims[1]);
    
      // Try to set 'unknown' with same rank on the shape and see that
      // it doesn't change.
      dims[0] = -1;
      dims[1] = -1;
      TF_GraphSetTensorShape(graph, feed_out_0, dims, 2, s);
      EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(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)
Back to top