- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 38 for init (0.14 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_lib.h
public: // Eager async execution is only supported when remote eager is not in use // (b/157523095). explicit ParallelDevice(const std::vector<std::string>& devices, bool is_async = false, int in_flight_nodes_limit = 0); ~ParallelDevice(); // Helper to copy a tensor handle from another device once for each component // of the ParallelDevice. //
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/parallel_device/parallel_device_testlib.h
TFE_OpSetAttrInt(op.get(), "N", num_replicas); for (int i = 0; i < num_replicas; ++i) { TFE_OpAddInput(op.get(), components[i], status); if (TF_GetCode(status) != TF_OK) return nullptr; } TFE_OpSetDevice(op.get(), device, status); if (TF_GetCode(status) != TF_OK) return nullptr; TFE_TensorHandle* result_handle; int num_retvals = 1; TFE_Execute(op.get(), &result_handle, &num_retvals, status);
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/eager/parallel_device/parallel_device.h
// passed to TFE_RegisterCustomDevice. The `device_name` arguments must match. void AllocateParallelDevice(const char* device_name, const char* const* underlying_devices, int num_underlying_devices, TFE_CustomDevice* device, void** device_info); } // namespace parallel_device } // namespace tensorflow
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jun 04 21:49:16 GMT 2020 - 2.9K bytes - Viewed (0) -
tensorflow/c/env.h
// that the system default will be used. size_t guard_size; // The NUMA node to use, -1 implies that there should be no NUMA affinity for // this thread. int numa_node; } TF_ThreadOptions; // Creates the specified directory. Typical status code are: // * TF_OK - successfully created the directory // * TF_ALREADY_EXISTS - directory already exists
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat Jan 09 02:53:27 GMT 2021 - 9.6K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler_internal.h
// Registers Graph optimizers. Status InitGraphPlugin(void* dso_handle); // Allow registering a graph optimizer using a function (used for // testing). Status InitGraphPlugin(TFInitGraphPluginFn init_fn); struct GrapplerItem; class Cluster; struct TFStatusDeleter { void operator()(TF_Status* s) const { TF_DeleteStatus(s); } }; using OwnedTFStatus = std::unique_ptr<TF_Status, TFStatusDeleter>;
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Jun 08 08:58:23 GMT 2022 - 3.5K bytes - Viewed (1) -
src/cmd/cgo/internal/test/cthread_unix.c
#include <pthread.h> #include "_cgo_export.h" static void* addThread(void *p) { int i, max; max = *(int*)p; for(i=0; i<max; i++) Add(i); return 0; } void doAdd(int max, int nthread) { enum { MaxThread = 20 }; int i; pthread_t thread_id[MaxThread]; if(nthread > MaxThread) nthread = MaxThread; for(i=0; i<nthread; i++)
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Wed May 17 21:53:11 GMT 2023 - 1K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/tape/tape_operation.h
const size_t* lengths, int num_values) override; Status SetAttrFloatList(const char* attr_name, const float* values, int num_values) override; Status SetAttrIntList(const char* attr_name, const int64_t* values, int num_values) override; Status SetAttrTypeList(const char* attr_name, const DataType* values, int num_values) override;
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 23 23:12:39 GMT 2020 - 3.7K bytes - Viewed (1) -
tensorflow/c/c_api_experimental.h
// TF_CAPI_EXPORT extern TF_ShapeAndTypeList* TF_NewShapeAndTypeList( int num_shapes); TF_CAPI_EXPORT extern void TF_ShapeAndTypeListSetShape( TF_ShapeAndTypeList* shape_list, int index, const int64_t* dims, int num_dims); TF_CAPI_EXPORT extern void TF_ShapeAndTypeListSetUnknownShape( TF_ShapeAndTypeList* shape_list, int index); TF_CAPI_EXPORT extern void TF_ShapeAndTypeListSetDtype(
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/tape.h
// this by not constructing zeros to pass for those indices. std::unordered_map<string, std::unordered_set<int>>* FunctionsAcceptingNoneForIndicesMap() { static auto* const m = new std::unordered_map<string, std::unordered_set<int>>({ {"SoftmaxCrossEntropyWithLogits", {1}}, {"SparseSoftmaxCrossEntropyWithLogits", {1}}, {"FusedBatchNorm", {1, 2, 3, 4}},
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/experimental/filesystem/filesystem_interface.h
typedef struct TF_FilesystemPluginOps { char* scheme; int filesystem_ops_abi; int filesystem_ops_api; size_t filesystem_ops_size; TF_FilesystemOps* filesystem_ops; int random_access_file_ops_abi; int random_access_file_ops_api; size_t random_access_file_ops_size; TF_RandomAccessFileOps* random_access_file_ops; int writable_file_ops_abi; int writable_file_ops_api; size_t writable_file_ops_size;
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)