- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for metodo (0.3 sec)
-
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/c_api.h
} /* end extern "C" */ #endif #ifdef __cplusplus // A workaround to ease conversion to and from numpy objects and // TFE_TensorHandle's. // // TODO(ashankar): Figure out an alternative scheme that precludes the need for // these API-boundary breaking methods. namespace tensorflow { class Tensor; } // namespace tensorflow TFE_TensorHandle* TFE_NewTensorHandle(const tensorflow::Tensor& t,
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) -
tensorflow/c/eager/immediate_execution_distributed_manager.h
// Initializes context for the local worker and no contexts will be created // for remote workers. Currently this only works for resetting context. // TODO(b/289445025): Consider removing this when we find a proper fix. virtual Status InitializeLocalOnlyContext(const ServerDef& server_def, int keep_alive_secs) = 0;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 2.9K bytes - Viewed (0) -
tensorflow/c/eager/abstract_operation.h
virtual Status SetAttrFunctionList( const char* attr_name, absl::Span<const AbstractOperation*> values) = 0; private: const AbstractOperationKind kind_; }; // TODO(b/193656009): Defining these in a cc file causes linker errors with // fastbuild. inline Status AbstractOperation::SetAttrShape(const char* attr_name, const PartialTensorShape shape) {
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jul 14 16:20:41 GMT 2021 - 6.8K 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,
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) -
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/eager/immediate_execution_operation.h
const = 0; virtual Status SetInput(size_t index, ImmediateExecutionTensorHandle* input) = 0; virtual ImmediateExecutionContext* GetContext() const = 0; // Following two methods are used to support custom device. // Return true if the inputs contain custom device tensor handle. It means // that the argument need to be handled by a custom device. virtual bool HasCustomDeviceInput() const = 0;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 22:40:32 GMT 2022 - 3.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
// requires its type (e.g. "AddV2") to be set independently. TF_AbstractOp* TF_NewAbstractOp(TF_ExecutionContext* ctx); void TF_DeleteAbstractOp(TF_AbstractOp*); // TODO(srbs): Add APIs for specifying attrs etc. // `op_type` must outlive `op`. void TF_AbstractOpSetOpType(TF_AbstractOp* op, const char* const op_type, TF_Status* s); // `op_name` must outlive `op`.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:27:00 GMT 2021 - 7K bytes - Viewed (0)