- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for shared_ptr (0.33 sec)
-
tensorflow/cc/framework/scope_internal.h
// WithControlDependencies() would share the same NameMap with the parent. typedef std::unordered_map<string, int> NameMap; Impl(const std::shared_ptr<Graph>& graph, const std::shared_ptr<Status>& status, const std::shared_ptr<NameMap>& name_map, const std::shared_ptr<ShapeRefiner>& refiner); const string& name() const { return name_; } const std::vector<Operation>& control_deps() const { return control_deps_; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 15:46:43 UTC 2022 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device_context.h
class XlaDeviceContext : public DeviceContext { public: explicit XlaDeviceContext( std::shared_ptr<se::Stream> compute_stream, std::shared_ptr<se::Stream> host_to_device_stream, std::shared_ptr<se::Stream> device_to_host_stream, std::vector<std::shared_ptr<se::Stream>> device_to_device_streams, xla::LocalClient* client,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_kernel_creator.cc
#include "tensorflow/core/lib/core/status.h" #include "tsl/platform/errors.h" namespace tensorflow { bool XlaKernelCreator::CanCreateKernel( const FunctionLibraryRuntime& flr, const std::shared_ptr<const NodeProperties>& props) const { return CanCreateXlaKernel(props->node_def) && !XlaOpRegistry::IsCompilationDevice(flr.device()->device_type()); } static Status CreateXlaKernel(FunctionLibraryRuntime* flr,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 31 22:24:01 UTC 2023 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_kernel_creator.h
bool CanCreateKernel( const FunctionLibraryRuntime& flr, const std::shared_ptr<const NodeProperties>& props) const override; // Given a supported NodeDef, returns a XlaLaunchOp that computes the node. Status CreateKernel(FunctionLibraryRuntime* flr, const std::shared_ptr<const NodeProperties>& props, std::unique_ptr<OpKernel>* kernel) const override; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 26 19:43:17 UTC 2023 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_platform_info.h
explicit XlaPlatformInfo( const DeviceType device_type, se::Platform::Id platform_id, const XlaDevice::Metadata* xla_device_metadata, const PjRtBaseDevice::Metadata* pjrt_device_metadata, std::shared_ptr<se::DeviceMemoryAllocator> device_allocator) : device_type_(device_type), platform_id_(platform_id), xla_device_metadata_(xla_device_metadata), pjrt_device_metadata_(pjrt_device_metadata),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/restored_resource.h
// the RevivedObjects struct (which owns all functions). One alternative would // be to have RevivedObjects store shared_ptr<TFConcreteFunction> instead, and // change RestoredResource's constructor take shared_ptr<TFConcreteFunction>. // To keep things simple, I've stuck to raw pointers for now. // // Params: // device - The device string associated with the SavedResource
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 23 04:49:47 UTC 2020 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_tensor.h
// streams. // It is legal to reset the definition event of a tensor when overwriting the // tensor's value (at which point, it is effectively a new tensor once again.) void ResetDefinitionEvent(std::shared_ptr<se::Event> event, se::Stream* stream); // Refresh the status of streams_defined_on_. Return the first not-OK stream's // status or OK. Status RefreshStatusOfStreams();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 4.7K bytes - Viewed (0) -
tensorflow/cc/client/client_session.cc
class ClientSession::Impl { private: friend class ClientSession; Impl(Session* session, std::shared_ptr<Graph> graph) : session_(session), graph_(std::move(graph)) {} static SessionOptions MakeDefaultSessionOptions(const string& target); Status MaybeExtendGraph() const; std::unique_ptr<Session> session_; std::shared_ptr<Graph> graph_; mutable mutex mu_; mutable int last_num_graph_nodes_ TF_GUARDED_BY(mu_) = 0;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 09:04:10 UTC 2024 - 7.1K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_tensor.cc
return; } stream->WaitFor(definition_event_.get()).IgnoreError(); streams_defined_on_.push_back(stream); } void XlaTensor::ResetDefinitionEvent(std::shared_ptr<se::Event> event, se::Stream* stream) { mutex_lock lock(mu_); definition_event_ = std::move(event); streams_defined_on_ = {stream}; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h
TF_FileStatistics base; int64_t generation_number; } GcsFileStat; typedef struct GCSFile { google::cloud::storage::Client gcs_client; // owned bool compose; absl::Mutex block_cache_lock; std::shared_ptr<RamFileBlockCache> file_block_cache ABSL_GUARDED_BY(block_cache_lock); uint64_t block_size; // Reads smaller than block_size will trigger a read // of block_size.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 31 04:37:41 UTC 2020 - 5.2K bytes - Viewed (0)