Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for denied (0.2 sec)

  1. tensorflow/c/c_api.cc

    void TF_DeleteServer(TF_Server* server) {
    #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
      delete server;
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    }
    
    void TF_RegisterLogListener(void (*listener)(const char*)) {
    #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
      tensorflow::logging::RegisterListener(listener);
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_unified_experimental.cc

    // Public C API entry points
    //
    // These are only the generic entry points for the C API. This file does not
    // have any visibility into the graph/eager implementation and is only providing
    // C bindings to the abstract classes defined in the
    // c_api_unified_experimental_internal.h header.
    //
    // =============================================================================
    
    using tensorflow::AbstractFunction;
    using tensorflow::AbstractTensorHandle;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

    // for the first time.
    TF_Library* TF_LoadPluggableDeviceLibrary(const char* library_filename,
                                              TF_Status* status) {
    #if defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
      status->status = tensorflow::errors::Unimplemented(
          "PluggableDevice plugin functionality is not supported on mobile");
      return nullptr;
    #else
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/grappler/grappler.cc

    limitations under the License.
    ==============================================================================*/
    // This file extends/implements core graph optimizer base classes in terms of
    // the C API defined in grappler.h. A class "CSomething" represents a
    // "Something" that can be manipulated via calls in the C interface and a C
    // struct called "TP_Something".
    
    #include "tensorflow/c/experimental/grappler/grappler.h"
    
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  5. tensorflow/c/eager/gradients.cc

        const ForwardOperation& op,
        std::unique_ptr<GradientFunction>* gradient_function) const {
      auto iter = registry_.find(op.op_name);
      if (iter == registry_.end()) {
        const string error_msg = "No gradient defined for op: " + op.op_name + ".";
        return errors::NotFound(error_msg);
      }
      gradient_function->reset(iter->second(op));
      return absl::OkStatus();
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

      EXPECT_EQ(TF_ALREADY_EXISTS,
                static_cast<TF_Code>(tensorflow::error::ALREADY_EXISTS));
      EXPECT_EQ(TF_PERMISSION_DENIED,
                static_cast<TF_Code>(tensorflow::error::PERMISSION_DENIED));
      EXPECT_EQ(TF_UNAUTHENTICATED,
                static_cast<TF_Code>(tensorflow::error::UNAUTHENTICATED));
      EXPECT_EQ(TF_RESOURCE_EXHAUSTED,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  7. tensorflow/c/c_api_experimental_test.cc

      ASSERT_EQ(TF_OK, code) << status_msg;
      TF_DeletePluggableDeviceLibraryHandle(lib);
    #endif  // !defined(TENSORFLOW_NO_SHARED_OBJECTS)
    #endif  // !defined(PLATFORM_WINDOWS)
    }
    
    TEST(CAPI_EXPERIMENTAL, LibraryNextPluggableDeviceLoadFunctions) {
      // TODO(penpornk): Enable this test on Windows.
    #if !defined(PLATFORM_WINDOWS)
    #if !defined(TENSORFLOW_NO_SHARED_OBJECTS)
      // Load the library.
      TF_Status* status = TF_NewStatus();
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  8. tensorflow/c/eager/c_api.cc

        int64_t init_timeout_in_ms, int retries, TF_Status* status,
        bool clear_existing_contexts) {
    #if defined(IS_MOBILE_PLATFORM)
      status->status = tensorflow::errors::Unimplemented(
          "TFE_ContextSetServerDef not supported on mobile");
    #else   // !defined(IS_MOBILE_PLATFORM)
      tensorflow::ServerDef server_def;
      if (!server_def.ParseFromArray(proto, proto_len)) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  9. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    // depending on the type of the string argument. We don't use these macros, so
    // undefine them here.
    #undef CopyFile
    #undef DeleteFile
    #undef TranslateName
    #endif  // defined(PLATFORM_WINDOWS)
    
    // The tests defined here test the compliance of filesystems with the API
    // defined by `filesystem_interface.h`.
    //
    // As some filesystems require special setup, these tests are run manually.
    //
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
Back to top