- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for wrap (0.18 sec)
-
tensorflow/c/conversion_macros.h
} \ \ inline wrapper *wrap(cpp_impl *i) { return reinterpret_cast<wrapper *>(i); } \ inline const wrapper *wrap(const cpp_impl *i) { \ return reinterpret_cast<const wrapper *>(i); \ }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon May 04 16:24:03 GMT 2020 - 1.7K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
} // Takes a description of a single operation being executed on the // ParallelDevice, and in turn runs one operation per component device with // its corresponding inputs from the input ParallelTensors. Wraps the // resulting per-device and per-output TFE_TensorHandles into one // ParallelTensor per output of the original operation. // // Attributes are forwarded to executed operations unmodified. //
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 25 15:21:13 GMT 2023 - 12.9K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.h
std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); TFE_Context* eager_ctx = TF_ExecutionContextGetTFEContext(wrap(ctx), status.get()); TF_RETURN_IF_ERROR(StatusFromTF_Status(status.get())); TFE_TensorHandle* input_eager = TestTensorHandleWithDims<T, datatype>(eager_ctx, data, dims, num_dims); *tensor =
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.h
// "/job:localhost/replica:0/task:0/device:CUSTOM:0". // // The custom device defines copy operations for moving TensorHandles on and // off, and an execution operation for named operations. Often execution will // simply wrap op execution on one or more physical devices. // // device_info is an opaque caller-defined type stored with the custom device // which is passed to the functions referenced in the TFE_CustomDevice struct
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/tfe_op_internal.h
#ifndef TENSORFLOW_C_EAGER_TFE_OP_INTERNAL_H_ #define TENSORFLOW_C_EAGER_TFE_OP_INTERNAL_H_ #include "tensorflow/c/conversion_macros.h" #include "tensorflow/c/eager/immediate_execution_operation.h" // Wraps a pointer to an operation implementation. // // WARNING: Since the underlying object could be ref-counted a user of this // interface cannot destruct the underlying operation object. Instead, call
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jun 17 19:39:13 GMT 2020 - 1.4K bytes - Viewed (0) -
tensorflow/c/eager/tfe_tensorhandle_internal.h
#ifndef TENSORFLOW_C_EAGER_TFE_TENSORHANDLE_INTERNAL_H_ #define TENSORFLOW_C_EAGER_TFE_TENSORHANDLE_INTERNAL_H_ #include "tensorflow/c/conversion_macros.h" #include "tensorflow/c/eager/immediate_execution_tensor_handle.h" // Wraps a pointer to a tensor handle implementation. // // WARNING: Since the underlying object could be ref-counted a user of this // interface cannot destruct the underlying handle object. Instead, call
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jun 17 19:39:13 GMT 2020 - 1.6K bytes - Viewed (0) -
tensorflow/c/eager/tfe_context_internal.h
#ifndef TENSORFLOW_C_EAGER_TFE_CONTEXT_INTERNAL_H_ #define TENSORFLOW_C_EAGER_TFE_CONTEXT_INTERNAL_H_ #include "tensorflow/c/conversion_macros.h" #include "tensorflow/c/eager/immediate_execution_context.h" // Wraps a pointer to a context implementation. // // WARNING: Since the underlying object could be ref-counted a user of this // interface cannot destruct the underlying context object. Instead, call
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jun 17 19:39:13 GMT 2020 - 1.4K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
virtual AbstractTensorInterface* CreateTensor( DataType dtype, const int64_t* dims, int num_dims, void* data, size_t len, MemoryReleaser memory_releaser, void* memory_releaser_arg) = 0; // Create a handle to wrap and manage a Tensor virtual ImmediateExecutionTensorHandle* CreateLocalHandle( AbstractTensorInterface* t) = 0; // Copy the handle to another device. virtual ImmediateExecutionTensorHandle* CopyTensorHandleToDevice(
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/plugins/gcs/ram_file_block_cache.h
// is always executed during Read. bool IsCacheEnabled() const { return block_size_ > 0 && max_bytes_ > 0; } // We can not pass a lambda with capture as a function pointer to // `TF_StartThread`, so we have to wrap `Prune` inside a static function. static void PruneThread(void* param) { auto ram_file_block_cache = static_cast<RamFileBlockCache*>(param); ram_file_block_cache->Prune(); } private:
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/experimental/filesystem/filesystem_interface.h
/// data in the structures here to prevent cases when padding/packing enabled by /// different compiler options breaks compatibility. For more details about how /// this is used, please consult next sections. Here we just wrap these tables /// in lint warnings so that changes here cause changes to the versioning data /// as well. Here is a short summary of what changes are allowed: /// * adding a new method at the end of a table is allowed at any time;
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)