- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for metod (0.17 sec)
-
tensorflow/c/eager/c_api_experimental.h
int version = TFE_CUSTOM_DEVICE_VERSION; // Method to copy a tensor to the custom device. TFE_TensorHandle* (*copy_tensor_to_device)(TFE_Context* context, TFE_TensorHandle* tensor, TF_Status* status, void* device_info); // Method to copy a tensor from the custom device to a target device.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h
#define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_POSIX_COPY_FILE_H_ #include <sys/stat.h> namespace tf_posix_filesystem { // Transfers up to `size` bytes from `dst_fd` to `src_fd`. // // This method uses `sendfile` if available (i.e., linux 2.6.33 or later) or an // intermediate buffer if not. // // Returns number of bytes transferred or -1 on failure. int CopyFileContents(int dst_fd, int src_fd, off_t size);
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Nov 22 21:23:55 GMT 2019 - 1.2K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
// Construct a Variable from a resource-dtype TFE_TensorHandle and an // indication of the dtype of the variable's value. // // Note that creating this resource-dtype handle can fail, so `Create` is a // separate static method which returns a status. Variable(TFE_TensorHandle* handle, TF_DataType type) : handle_(handle), type_(type) {} // Helper for constructing a resource handle and wrapping it in a `Variable` // object.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 09 01:12:35 GMT 2021 - 6.9K bytes - Viewed (0) -
tensorflow/c/c_api.h
// to `g`. Once `func`/`grad` is added to `g`, it can be called by creating // an operation using the function's name. // Any changes to `func`/`grad` (including deleting it) done after this method // returns, won't affect the copy of `func`/`grad` in `g`. // If `func` or `grad` are already in `g`, TF_GraphCopyFunction has no // effect on them, but can establish the function->gradient relationship
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/eager/tape.h
: backward_tape(backward_tape), accumulating(accumulating) {} // Set temporarily while in the Accumulate method; if backward_tape is not // nullptr then we forward op executions to it so Accumulate can compute a // backward pass on its backward function. // // Not owned by the ForwardAccumulator. The method which sets // `backward_tape` keeps ownership.
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) -
tensorflow/c/c_api_experimental.h
// Platform-specific implementation to return an unused port. (This should used // in tests only.) TF_CAPI_EXPORT int TF_PickUnusedPortOrDie(void); // Fast path method that makes constructing a single scalar tensor require less // overhead and copies. TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_NewTensorHandleFromScalar( TF_DataType data_type, void* data, size_t len, TF_Status* status);
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
// Configure graph collection in RunMetadata. virtual void SetShouldStoreGraphs(bool value) = 0; // Return the collected RunMetadata. This method will transfer the ownership // to the caller. virtual std::unique_ptr<RunMetadata> ExportRunMetadata() = 0; // For LLVM style RTTI. static bool classof(const AbstractContext* ptr) {
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// implemented by a filesystem registered to handle the `fs://` scheme. /// /// A new `char*` buffer must be allocated by this method. Core TensorFlow /// manages the lifetime of the buffer after the call. Thus, all callers of /// this method must take ownership of the returned pointer. /// /// The implementation should clean up paths, including but not limited to,
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) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h
// notification and returns. pruning_thread_.reset(); } } /// Read `n` bytes from `filename` starting at `offset` into `buffer`. It /// returns total bytes read ( -1 in case of errors ). This method will set /// `status` to: /// /// 1) The error from the remote filesystem, if the read from the remote /// filesystem failed. /// 2) `TF_FAILED_PRECONDITION` if the read from the remote filesystem
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) -
tensorflow/c/c_api_internal.h
// rank is known), then it must be equal to the length of `shapes[i]`; if // `ranks[i] == 1`, then `shapes[i]` may be nullptr. // // TODO(akshayka): Implement a corresponding getter method. void TF_GraphSetOutputHandleShapesAndTypes(TF_Graph* graph, TF_Output output, int num_shapes_and_types, const int64_t** shapes,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Viewed (0)