Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for ok (4.43 sec)

  1. tensorflow/c/experimental/filesystem/filesystem_interface.h

                          int num_files, TF_Status** statuses);
    
      /// Obtains statistics for the given `path`.
      ///
      /// Updates `stats` only if `status` is set to `TF_OK`.
      ///
      /// Plugins:
      ///   * Must set `status` to `TF_OK` if `path` exists.
      ///   * Must set `status` to `TF_NOT_FOUND` if `path` doesn't point to a
      ///     filesystem entry.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/tape.h

          // Release all backprop functions
          for (const auto& pair : state.op_tape) {
            pair.second.backward_function_deleter(pair.second.backward_function);
          }
        }
      });
      if (!s.ok()) {
        return s;
      }
    
      std::unordered_map<int64_t, int64_t> gradients_size;
      // TODO(apassos) multiple threads could be dequeuing from op_stack at the same
      // time, for better CPU backprop performance.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  3. tensorflow/c/eager/c_api.h

    TF_CAPI_EXPORT extern const char* TFE_TensorHandleBackingDeviceName(
        TFE_TensorHandle* h, TF_Status* status);
    
    // Return a pointer to a new TFE_TensorHandle that shares the underlying tensor
    // with `h`. On success, `status` is set to OK. On failure, `status` reflects
    // the error and a nullptr is returned.
    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_TensorHandleCopySharingTensor(
        TFE_TensorHandle* h, TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  4. tensorflow/c/c_op_requires.h

    // for plugin OpKernel developer's convenience.
    
    #define C_OPKERNELCONTEXT_REQUIRES_OK(CTX, C_STATUS, __VA_ARGS__) \
      do {                                                            \
        ::tensorflow::Status _s(__VA_ARGS__);                         \
        if (!TF_PREDICT_TRUE(_s.ok())) {                              \
          ::tensorflow::Set_TF_Status_from_Status(C_STATUS, _s);      \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Aug 02 21:35:06 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/abstract_tensor_handle.h

     public:
      // Returns tensor dtype.
      virtual tensorflow::DataType DataType() const = 0;
    
      // Returns the status of the tensor handle. If it is a tfrt::TensorHandle,
      // the tensor handle can be an error and return non-OK status.
      virtual tensorflow::Status TensorHandleStatus() const;
    
      // Returns tensor shape. If tensor has unknown rank, shape remains untouched.
      virtual tensorflow::Status Shape(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 03 00:30:36 GMT 2023
    - 3K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// be fetched from the backing filesystem. This callback is provided when the
      /// cache is constructed. It returns total bytes read ( -1 in case of errors
      /// ). The `status` should be `TF_OK` as long as the read from the remote
      /// filesystem succeeded (similar to the semantics of the read(2) system
      /// call).
      typedef std::function<int64_t(const std::string& filename, size_t offset,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // `plugin_resource_name`, returns it in `*result_plugin_resource`. Otherwise,
    // invokes create_func to create the resource. `delete_func` is needed for
    // ResourceMgr to clean up the resource. `status` will be set. If `status` is
    // not OK, `*result_plugin_resource` will be set as nullptr.
    //
    // Caller does not take ownership of the `plugin_resource`.
    TF_CAPI_EXPORT extern void TF_LookupOrCreatePluginResource(
        TF_OpKernelContext* ctx, const char* container_name,
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  8. tensorflow/c/checkpoint_reader.h

     private:
      // Uses "v2_reader_" to build "var name -> shape" and "var name -> data type"
      // maps; both owned by caller.
      // REQUIRES: "v2_reader_ != nullptr && v2_reader_.status().ok()".
      std::pair<std::unique_ptr<TensorSliceReader::VarToShapeMap>,
                std::unique_ptr<TensorSliceReader::VarToDataTypeMap> >
      BuildV2VarMaps();
    
      // Invariant: exactly one of "reader_" and "v2_reader_" is non-null.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top