- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for argc (0.21 sec)
-
tensorflow/c/c_test.c
TF_Tensor* input; TF_Status* s = TF_NewStatus(); TF_GetInput(ctx, 0, &input, s); TF_DeleteTensor(input); TF_DeleteStatus(s); } // Exercises tensorflow's C API. int main(int argc, char** argv) { TF_InitMain(argv[0], &argc, &argv); struct TF_StringStream* s = TF_GetLocalTempDirectories(); const char* path; if (!TF_StringStreamNext(s, &path)) {
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 2.8K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
TF_NewTensor( datatype_enum, /*dims=*/nullptr, /*num_dims=*/0, device_value.release(), sizeof(DataType), [](void* data, size_t, void* arg) { delete reinterpret_cast<DataType*>(data); }, nullptr), TF_DeleteTensor); // TODO(allenl): Here and when executing regular operations, we could hold
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/c_api.h
// are not optimizing for convenience. // * We make assumption that one session has one graph. This should be // fine since we have the ability to run sub-graphs. // * We could allow NULL for some arguments (e.g., NULL options arg). // However since convenience is not a primary goal, we don't do this. // * Devices are not in this API. Instead, they are created/used internally // and the API just provides high level controls over the number of
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/c_api_experimental.h
// Platform specific initialization routine. Very few platforms actually require // this to be called. TF_CAPI_EXPORT void TF_InitMain(const char* usage, int* argc, char*** argv); // Platform-specific implementation to return an unused port. (This should used // in tests only.) TF_CAPI_EXPORT int TF_PickUnusedPortOrDie(void);
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/c_api_experimental.h
TFE_Context* ctx, const char* device_name, TF_DataType, const int64_t* dims, int num_dims, void* data, size_t len, void (*deallocator)(void* data, size_t len, void* arg), void* deallocator_arg, TF_Status* status); // Retrieves the address space (i.e. job, replia, task) of the local host and // saves it in the buffer. TF_CAPI_EXPORT extern void TFE_HostAddressSpace(TFE_Context* ctx,
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/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) -
tensorflow/c/eager/immediate_execution_context.h
// Tensor creation functions virtual AbstractTensorInterface* CreateTensor( DataType dtype, absl::Span<const int64_t> dim_sizes) = 0; typedef void (*MemoryReleaser)(void* data, size_t len, void* arg); // Create a tensor instance from the given data buffer and description. // `memory_releaser` will be called on destruction, and it's responsible for // cleaning up the underlying buffer.
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/next_pluggable_device/c_api.h
TF_CAPI_EXPORT extern void TF_LookupOrCreatePluginResource( TF_OpKernelContext* ctx, const char* container_name, const char* plugin_resource_name, void** result_plugin_resource, void* (*create_func)(void*), void* create_func_args, void (*delete_func)(void*), TF_Status* status); // ------------------------- VariableInfo ------------------------------------ TF_CAPI_EXPORT extern TF_VariableInfo* TF_CreateVariableInfoFromContext(
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)