Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for OkStatus (0.14 sec)

  1. tensorflow/c/experimental/next_pluggable_device/c_api.cc

            void* opaque_plugin_resource = create_func(create_func_args);
            *new_resource = new tensorflow::PluginResource(
                opaque_plugin_resource, plugin_resource_name, delete_func);
            return tensorflow::OkStatus();
          });
    
      if (cc_status.ok()) {
        tf_plugin_resource_ptr.reset(tf_plugin_resource);
        *result_plugin_resource = tf_plugin_resource_ptr->GetOpaquePluginResource();
      } else {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  2. tensorflow/c/c_api.cc

                       tensor_interface->ByteSize()))) {
          return InvalidArgument(
              "Malformed TF_RESOURCE tensor: unable to parse resource handle");
        }
        return absl::OkStatus();
      }
      return absl::OkStatus();
    }
    
    static bool TF_Run_Inputs(TF_Tensor* const* c_inputs,
                              std::vector<std::pair<string, Tensor>>* input_pairs,
                              TF_Status* status) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.cc

    }
    
    TF_CAPI_EXPORT extern void TFE_ContextAsyncWait(TFE_Context* ctx,
                                                    TF_Status* status) {
    #if defined(IS_MOBILE_PLATFORM)
      status->status = tensorflow::OkStatus();
    #else   // !defined(IS_MOBILE_PLATFORM)
      status->status = tensorflow::unwrap(ctx)->AsyncWait();
    #endif  // !IS_MOBILE_PLATFORM
    }
    
    void TFE_ContextSetThreadLocalDevicePlacementPolicy(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
Back to top