- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 359 for unique_ptr (0.19 sec)
-
tensorflow/compiler/aot/embedded_protocol_buffers.cc
{"{{PROTOBUF_NAME}}", absl::StrCat(qualified_cpp_protobuf_name)}, }); } static absl::StatusOr<string> CodegenModule( llvm::TargetMachine* target_machine, std::unique_ptr<llvm::Module> module) { llvm::SmallVector<char, 0> stream_buffer; llvm::raw_svector_ostream ostream(stream_buffer); llvm::legacy::PassManager codegen_passes;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Feb 26 00:48:41 UTC 2024 - 5.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec.h
namespace mlir::quant::stablehlo { // Returns StableHLO quantization specs for an op. std::unique_ptr<OpQuantSpec> GetStableHloOpQuantSpec(Operation* op); // Returns quantization constraints (ex: fixed output, same scale) given // a StableHLO op. std::unique_ptr<OpQuantScaleSpec> GetStableHloQuantConstraints(Operation* op); // Checks if an op is quantizable in StableHLO quantizer. Argument op is not
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 03 05:11:03 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/jit/device_compiler.h
std::unique_ptr<DeviceExecutablePersistor<ExecutableType, ClientType>> persistor_; std::unique_ptr<DeviceCompilerClient<ExecutableType, ClientType>> compiler_client_; std::unique_ptr<DeviceCompilationCache<ExecutableType>> cache_; // Pool of threads for asynchronous compilations. std::unique_ptr<thread::ThreadPool> async_compiler_threads_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 22.1K bytes - Viewed (0) -
tensorflow/c/eager/c_api_distributed_test.cc
server_def.set_task_index(1); std::unique_ptr<tensorflow::GrpcServer> worker_server1; ASSERT_TRUE(tensorflow::GrpcServer::Create( server_def, tensorflow::Env::Default(), &worker_server1) .ok()); ASSERT_TRUE(worker_server1->Start().ok()); server_def.set_task_index(2); std::unique_ptr<tensorflow::GrpcServer> worker_server2;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/debugging/dump_tensor_op.cc
OP_REQUIRES_OK(ctx, tensor_data_writer_->WriteRecord( tensor_proto.SerializeAsString())); } private: bool enabled_; std::unique_ptr<tsl::WritableFile> tensor_data_file_; std::unique_ptr<io::RecordWriter> tensor_data_writer_; }; REGISTER_KERNEL_BUILDER(Name("DumpTensor").Device(DEVICE_CPU), DumpTensorOp);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 03:12:17 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/compiler/jit/device_executable_persistor_test.cc
pjrt_compiler_client_ = std::make_unique<PjRtDeviceCompilerClient>(pjrt_client); return absl::OkStatus(); } std::unique_ptr<FunctionLibraryDefinition> flib_def_; std::unique_ptr<XlaDeviceCompilerClient> xla_compiler_client_; std::unique_ptr<PjRtDeviceCompilerClient> pjrt_compiler_client_; XlaCompiler::CompilationResult compilation_result_add_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 25.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_op_quant_spec.h
// Returns the spec for the given operation that can be used for both of // dynamic and static range quantization. std::unique_ptr<OpQuantSpec> GetTFOpQuantSpec(Operation* op); // Returns quantization scale specs (fixed output, same scale) for a TF op. std::unique_ptr<OpQuantScaleSpec> GetTfQuantScaleSpec(Operation* op); } // namespace quant } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 2.5K bytes - Viewed (0) -
tensorflow/compiler/jit/pjrt_device_context.cc
#include "tensorflow/core/tfrt/common/async_value_tensor.h" #include "tensorflow/core/tfrt/common/create_pjrt_client_util.h" #include "tsl/framework/device_id_utils.h" namespace tensorflow { namespace { absl::StatusOr<std::unique_ptr<xla::PjRtBuffer>> HostTensorToPjRtBuffer( const tensorflow::Tensor* cpu_tensor, tensorflow::Device* device, xla::PjRtClient* pjrt_client, const XlaShapeLayoutHelpers::ShapeDeterminationFns
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:49:31 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device_compiler_client.h
class XlaDeviceCompilerClient : public DeviceCompilerClient<xla::LocalExecutable, xla::LocalClient> { public: explicit XlaDeviceCompilerClient(xla::LocalClient* client) : client_(client) {} absl::StatusOr<std::unique_ptr<xla::LocalExecutable>> BuildExecutable( const XlaCompiler::Options& options, const XlaCompiler::CompilationResult& result) override; // Returns a serialized AOT result obtained by exporting the available
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 2.5K bytes - Viewed (0) -
tensorflow/c/eager/unified_api_testutil.h
Status TestTensorHandleWithDims(AbstractContext* ctx, const T* data, const int64_t* dims, int num_dims, AbstractTensorHandle** tensor) { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status( TF_NewStatus(), TF_DeleteStatus); TFE_Context* eager_ctx = TF_ExecutionContextGetTFEContext(wrap(ctx), status.get());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 27 13:57:45 UTC 2024 - 4K bytes - Viewed (0)