- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for unwrap (0.19 sec)
-
tensorflow/c/conversion_macros.h
inline cpp_impl *unwrap(wrapper *w) { \ return reinterpret_cast<cpp_impl *>(w); \ } \ \ inline const cpp_impl *unwrap(const wrapper *w) { \
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/unified_api_testutil.h
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 = unwrap(TF_CreateAbstractTensorFromEagerTensor(input_eager, status.get())); return absl::OkStatus(); }
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/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)