- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for tf (0.24 sec)
-
tensorflow/c/c_api.h
TF_CAPI_EXPORT extern int TF_OperationNumOutputs(TF_Operation* oper); TF_CAPI_EXPORT extern TF_DataType TF_OperationOutputType(TF_Output oper_out); TF_CAPI_EXPORT extern int TF_OperationOutputListLength(TF_Operation* oper, const char* arg_name, TF_Status* status);
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/env.h
#include "tensorflow/c/tf_file_statistics.h" #include "tensorflow/c/tf_status.h" // -------------------------------------------------------------------------- // C API for tensorflow::Env. #ifdef __cplusplus extern "C" { #endif typedef struct TF_WritableFileHandle TF_WritableFileHandle; typedef struct TF_StringStream TF_StringStream; typedef struct TF_Thread TF_Thread; typedef struct TF_ThreadOptions {
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/filesystem/plugins/gcs/gcs_filesystem.h
namespace tf_writable_file { void Cleanup(TF_WritableFile* file); void Append(const TF_WritableFile* file, const char* buffer, size_t n, TF_Status* status); int64_t Tell(const TF_WritableFile* file, TF_Status* status); void Flush(const TF_WritableFile* file, TF_Status* status); void Sync(const TF_WritableFile* file, TF_Status* status); void Close(const TF_WritableFile* file, TF_Status* status); } // namespace tf_writable_file
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Aug 31 04:37:41 GMT 2020 - 5.2K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
TF_NewStatus(), TF_DeleteStatus); std::unique_ptr<TF_Tensor, decltype(&TF_DeleteTensor)> actual_value( TFE_TensorHandleResolve(handle, status.get()), TF_DeleteTensor); ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); ASSERT_EQ(TF_TensorType(actual_value.get()), static_cast<TF_DataType>(DataTypeToEnum<value_type>().value)); EXPECT_EQ(expected_value,
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_lib.h
TFE_NewOp(context, "Const", status), TFE_DeleteOp); if (TF_GetCode(status) != TF_OK) return nullptr; TFE_OpSetDevice(const_op.get(), underlying_devices_[device_index].c_str(), status); if (TF_GetCode(status) != TF_OK) return nullptr; TFE_OpSetAttrTensor(const_op.get(), "value", tensor.get(), status); if (TF_GetCode(status) != TF_OK) return nullptr;
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/c_api_test_util.h
template <class T, TF_DataType datatype> TFE_TensorHandle* TestTensorHandleWithDims(TFE_Context* ctx, const T* data, const int64_t* dims, int num_dims) { TF_Status* status = TF_NewStatus(); TF_Tensor* t = TFE_AllocateHostTensor(ctx, datatype, dims, num_dims, status); memcpy(TF_TensorData(t), data, TF_TensorByteSize(t));
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_reader.h
// counter can have been created with any number of labels. TF_CAPI_EXPORT extern TFE_MonitoringCounterReader* TFE_MonitoringNewCounterReader(const char* name); // Reads the value of a counter that was created with 0 labels. TF_CAPI_EXPORT extern int64_t TFE_MonitoringReadCounter0( TFE_MonitoringCounterReader*); // Reads the value of specific cell of a counter that was created with 1 label. TF_CAPI_EXPORT extern int64_t TFE_MonitoringReadCounter1(
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 20 03:14:47 GMT 2023 - 2.3K bytes - Viewed (0) -
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); } // namespace tf_posix_filesystem
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/c_test.c
TF_WritableFileHandle* h; TF_Status* status = TF_NewStatus(); TF_NewWritableFile(full_path, &h, status); if (TF_GetCode(status) != TF_OK) { fprintf(stderr, "TF_NewWritableFile failed: %s\n", TF_Message(status)); return 1; } fprintf(stderr, "wrote %s\n", full_path); free(full_path); TF_CloseWritableFile(h, status); if (TF_GetCode(status) != TF_OK) {
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/c_api.h
// // TODO(ashankar): Merge with TF_Session? typedef struct TFE_Context TFE_Context; TF_CAPI_EXPORT extern TFE_Context* TFE_NewContext( const TFE_ContextOptions* opts, TF_Status* status); TF_CAPI_EXPORT extern void TFE_DeleteContext(TFE_Context* ctx); TF_CAPI_EXPORT extern TF_DeviceList* TFE_ContextListDevices(TFE_Context* ctx, TF_Status* status);
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)