- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for geturl (0.14 sec)
-
tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h
absl::MutexLock lock(&mu_); return DeleteLocked(key); } /// Look up the entry with key `key` and copy it to `value` if found. Returns /// true if an entry was found for `key`, and its timestamp is not more than /// max_age_ seconds in the past. bool Lookup(const std::string& key, T* value) { if (max_age_ == 0) { return false; } absl::MutexLock lock(&mu_); return LookupLocked(key, value); }
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 09 19:31:22 GMT 2020 - 6.3K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_operation.h
ImmediateExecutionTensorHandle* input) = 0; virtual ImmediateExecutionContext* GetContext() const = 0; // Following two methods are used to support custom device. // Return true if the inputs contain custom device tensor handle. It means // that the argument need to be handled by a custom device. virtual bool HasCustomDeviceInput() const = 0;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 22:40:32 GMT 2022 - 3.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental.h
// Prepare tracing to the expected number of output for an operation. void TF_OutputListSetNumOutputs(TF_OutputList* o, int num_outputs, TF_Status*); // Return the number of outputs in the list. int TF_OutputListNumOutputs(TF_OutputList* o); // Return the `i`th output in the list. TF_AbstractTensor* TF_OutputListGet(TF_OutputList* o, int i); // Append a tensor at the end of the output list, growing its size by one.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:27:00 GMT 2021 - 7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.h
TF_DeleteTensor(t); TF_DeleteStatus(status); return th; } // Return a scalar tensor handle with given values. template <class T, TF_DataType datatype> TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, const T value) { T data[] = {value}; return TestTensorHandleWithDims<T, datatype>(ctx, data, nullptr, 0); } // Return a tensor handle containing a 100x100 matrix of floats
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/parallel_device/parallel_device_testlib.h
if (TF_GetCode(status) != TF_OK) return nullptr; 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;
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) -
src/cmd/cgo/internal/swig/testdata/callback/main.h
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. class Callback { public: virtual ~Callback() { } virtual std::string run() { return "Callback::run"; } }; class Caller { private: Callback *callback_; public: Caller(): callback_(0) { } ~Caller() { delCallback(); } void delCallback() { delete callback_; callback_ = 0; }
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 529 bytes - Viewed (0) -
tensorflow/c/eager/abstract_context.h
explicit AbstractContext(AbstractContextKind kind) : kind_(kind) {} virtual ~AbstractContext() {} public: AbstractContextKind getKind() const { return kind_; } // Release any underlying resources, including the interface object. // // WARNING: The destructor of this class is marked as protected to disallow
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:16:58 GMT 2021 - 3K bytes - Viewed (0) -
tensorflow/c/env.h
// loading a library. The rules for determining the exact location of the // library are platform-specific and are not documented here. // // On success, place OK in status and return the newly created library handle. // Otherwise returns nullptr and set error status. TF_CAPI_EXPORT extern void* TF_LoadSharedLibrary(const char* library_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/cleanup.h
released_ = src.released_; f_ = src.release(); return *this; } ~Cleanup() { if (!released_) f_(); } // Releases the cleanup function instead of running it. // Hint: use c.release()() to run early. F release() { released_ = true; return std::move(f_); } bool is_released() const { return released_; } private:
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/c_test.c
// just nice to know that it compiles. void* create(TF_OpKernelConstruction* ctx) { TF_DataType type; TF_Status* s = TF_NewStatus(); TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s); TF_DeleteStatus(s); return NULL; } // A compute function. This will never actually get called in this test, it's // just nice to know that it compiles. void compute(void* kernel, TF_OpKernelContext* ctx) { TF_Tensor* input;
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)