- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for Kata (0.18 sec)
-
tensorflow/c/eager/gradient_checker.h
* * `use_function` indicates whether to use graph mode(true) or eager(false). * * `numerical_grad` is the pointer to the AbstractTensorHandle* which will * hold the numerical gradient data at the end of the function. */ Status CalcNumericalGrad(AbstractContext* ctx, Model forward, absl::Span<AbstractTensorHandle* const> inputs, int input_index, bool use_function,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Dec 11 02:34:32 GMT 2020 - 1.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.h
TFE_TensorHandle* TestMatrixTensorHandle(TFE_Context* ctx); // Return a tensor handle containing 2D matrix containing given data and // dimensions TFE_TensorHandle* TestMatrixTensorHandleWithInput(TFE_Context* ctx, float data[], int64_t dims[], int num_dims); // Get a Matrix TensorHandle with given float values and dimensions
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/env.h
TF_FileStatistics* stats, TF_Status* status); // Creates or truncates the given filename and returns a handle to be used for // appending data to the file. If status is TF_OK, *handle is updated and the // caller is responsible for freeing it (see TF_CloseWritableFile). TF_CAPI_EXPORT extern void TF_NewWritableFile(const char* filename,
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
void Close(const TF_WritableFile* file, TF_Status* status); } // namespace tf_writable_file namespace tf_read_only_memory_region { void Cleanup(TF_ReadOnlyMemoryRegion* region); const void* Data(const TF_ReadOnlyMemoryRegion* region); uint64_t Length(const TF_ReadOnlyMemoryRegion* region); } // namespace tf_read_only_memory_region namespace tf_gcs_filesystem { typedef struct GcsFileStat {
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_Status* status) { TFE_CustomDevice device; void* device_info; tensorflow::parallel_device::AllocateParallelDevice( device_name, underlying_devices.data(), underlying_devices.size(), &device, &device_info); TFE_RegisterCustomDevice(context, device, device_name, device_info, status); } } // namespace parallel_device } // namespace tensorflow
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/experimental/gradients/tape/tape_operation.h
Status Execute(absl::Span<AbstractTensorHandle*> retvals, int* num_retvals) override; Status SetAttrString(const char* attr_name, const char* data, size_t length) override; Status SetAttrInt(const char* attr_name, int64_t value) override; Status SetAttrFloat(const char* attr_name, float value) 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) -
src/cmd/cgo/internal/test/callback_c.c
// license that can be found in the LICENSE file. #include <string.h> #include "_cgo_export.h" void callback(void *f) { // use some stack space volatile char data[64*1024]; data[0] = 0; goCallback(f); data[sizeof(data)-1] = 0; } void callGoFoo(void) { extern void goFoo(void); goFoo(); } void IntoC(void) { BackIntoGo(); } void Issue1560InC(void)
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 933 bytes - Viewed (0) -
tensorflow/c/eager/abstract_operation.h
return SetAttrShape(attr_name, shape.dim_sizes().data(), shape.dims()); } inline Status AbstractOperation::SetAttrStringList( const char* attr_name, absl::Span<string const> values) { std::vector<const char*> raw_strs; std::vector<size_t> lengths; raw_strs.reserve(values.size()); lengths.reserve(values.size()); for (const auto& s : values) { raw_strs.emplace_back(s.data()); lengths.emplace_back(s.size());
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jul 14 16:20:41 GMT 2021 - 6.8K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h
// // Example: // void func() { // FILE* fp = fopen("data.txt", "r"); // if (fp == nullptr) return; // auto fp_cleaner = gtl::MakeCleanup([fp] { fclose(fp); }); // // No matter what, fclose(fp) will happen. // DataObject d; // while (ReadDataObject(fp, &d)) { // if (d.IsBad()) { // LOG(ERROR) << "Bad Data"; // return; // } // PushGoodData(d); // }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 11:16:00 GMT 2020 - 3.4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.h
: region_(std::move(region)), ops_(ops) {} ~ModularReadOnlyMemoryRegion() override { ops_->cleanup(region_.get()); }; const void* data() override { return ops_->data(region_.get()); } uint64 length() override { return ops_->length(region_.get()); } private: std::unique_ptr<TF_ReadOnlyMemoryRegion> region_; const TF_ReadOnlyMemoryRegionOps* ops_; // not owned
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 12 08:49:52 GMT 2023 - 8.9K bytes - Viewed (0)