Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Hong (0.16 sec)

  1. tensorflow/c/c_api.cc

                                     export_dir, tag_set, &bundle);
      if (!status->status.ok()) return nullptr;
    
      // Create a TF_Graph from the MetaGraphDef. This is safe as long as Session
      // extends using GraphDefs. The Graph instance is different, but equivalent
      // to the one used to create the session.
      //
      // TODO(jhseu): When Session is modified to take Graphs instead of
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 102.4K bytes
    - Viewed (0)
  2. tensorflow/c/eager/immediate_execution_tensor_handle.cc

      }
      std::string value_string;
      if (!SummarizeValue(value_string).ok()) {
        value_string = "<error computing value>";
      }
      if (value_string.length() > 100) {
        // The default NumPy-style output can be distractingly long in error
        // messages.
        value_string = absl::StrCat(value_string.substr(0, 100), " [...]");
      }
      Status s;
      const char* device_name = DeviceName(&s);
      if (!s.ok()) {
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function_test.cc

    }
    
    TEST_F(CApiFunctionTest, Name) {
      DefineFunction("long_func_name", &func_, "Return something",
                     /*append_hash=*/false);
      tensorflow::FunctionDef fdef;
      ASSERT_TRUE(GetFunctionDef(func_, &fdef));
      ASSERT_EQ(string("long_func_name"), fdef.signature().name());
    }
    
    TEST_F(CApiFunctionTest, AppendHash) {
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  4. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

      else
        TF_SetStatus(status, TF_OK, "");
    }
    
    static int64_t Tell(const TF_WritableFile* file, TF_Status* status) {
      auto posix_file = static_cast<PosixFile*>(file->plugin_file);
    
      // POSIX's `ftell` returns `long`, do a manual cast.
      int64_t position = int64_t{ftell(posix_file->handle)};
      if (position < 0)
        TF_SetStatusFromIOError(status, errno, posix_file->filename);
      else
        TF_SetStatus(status, TF_OK, "");
    
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_cluster_test.cc

      EXPECT_NE(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      // Even after the prevoiusly failed cluster update, another update and op
      // execution should work fine as long as the provided server_def is valid.
      TFE_ContextUpdateServerDef(ctx, 0, serialized.data(), serialized.size(),
                                 status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
Back to top