- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 23 for Resource (0.28 sec)
-
tensorflow/c/eager/parallel_device/parallel_device_testlib.h
public: // Construct a Variable from a resource-dtype TFE_TensorHandle and an // indication of the dtype of the variable's value. // // Note that creating this resource-dtype handle can fail, so `Create` is a // separate static method which returns a status. Variable(TFE_TensorHandle* handle, TF_DataType type) : handle_(handle), type_(type) {} // Helper for constructing a resource handle and wrapping it in a `Variable`
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Feb 09 01:12:35 GMT 2021 - 6.9K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.h
// `output_resource_shapes_and_types`. The caller is responsible for freeing the // memory in these buffers by calling `TF_DeleteShapeAndTypeList`. TF_CAPI_EXPORT extern void TFE_InferShapes( TFE_Op* op, TF_ShapeAndTypeList* input_shapes, TF_Tensor** input_tensors, TF_ShapeAndTypeList* input_tensor_as_shapes, TF_ShapeAndTypeList** input_resource_shapes_and_types,
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Viewed (0) -
tensorflow/c/experimental/next_pluggable_device/c_api.h
const char* plugin_resource_name, void* plugin_resource, void (*delete_func)(void*), TF_Status* status); // If the ResourceMgr provided by the `ctx` has a resource // `plugin_resource_name`, returns it in `*result_plugin_resource`. Otherwise, // invokes create_func to create the resource. `delete_func` is needed for // ResourceMgr to clean up the resource. `status` will be set. If `status` is
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) -
tensorflow/c/c_api.h
// `output` if its a resource or variant tensor, or otherwise returns the empty // string. TF_CAPI_EXPORT extern TF_Buffer* TF_GetHandleShapeAndType(TF_Graph* graph, TF_Output output); // Sets `output` based on `proto`, which should be a serialized // CppShapeInferenceResult::HandleData proto. `output` should be a resource // or variant tensor.
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/eager/tape.h
// the tape, so no gradient needs to be computed from it unless this // target is also a source. auto source_tensor = sources_that_are_targets.find(id); if (source_tensor != sources_that_are_targets.end()) { Gradient* ones_like = nullptr; TF_RETURN_IF_ERROR( vspace.BuildOnesLike(source_tensor->second, &ones_like)); (*result)[id].push_back(ones_like); } }
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/eager/immediate_execution_context.h
virtual void ClearCachesAndThreadExecutors() = 0; // Initialize the step resource container for a training step. This is used // in current TF runtime. For tfrt, it is used by fallback op handler. virtual void StartStep() = 0; // Destroy the step resource container for a training step. virtual void EndStep() = 0;
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/callback/main.h
// Copyright 2011 The Go Authors. All rights reserved. // 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 // clients from directly destroying this object since it may manage its own
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Oct 24 11:16:58 GMT 2021 - 3K bytes - Viewed (0) -
tensorflow/c/env.h
// Item points are invalidated after a call to TF_StringStreamDone. TF_CAPI_EXPORT extern bool TF_StringStreamNext(TF_StringStream* list, const char** result); // Frees the resources associated with given string list. All pointers returned // by TF_StringStreamNext are invalid after this call. TF_CAPI_EXPORT extern void TF_StringStreamDone(TF_StringStream* list);
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sat Jan 09 02:53:27 GMT 2021 - 9.6K bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue20266/issue20266.h
// Copyright 2017 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #define issue20266 20266 #ifndef def20266 #error "expected def20266 to be defined"
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 251 bytes - Viewed (0)