- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 641 for unique_ptr (0.26 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.h
const XlaShapeLayoutHelpers::ShapeDeterminationFns& shape_determination_fns, bool use_tuple_args, XlaCompiler::CompilationResult* compilation_result, std::vector<std::unique_ptr<mlir::Pass>>& custom_legalization_passes, const std::vector<TensorShape>& arg_shapes, std::vector<tpu::ShardingAndIndex>* arg_core_mapping, std::vector<std::vector<xla::Shape>>* per_core_arg_shapes);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 20:29:34 UTC 2024 - 2.8K bytes - Viewed (0) -
tensorflow/compiler/jit/device_context_test.cc
rollout_config.AllowForDeviceInXlaCompileOnDemand(DeviceType(device_type)); auto device_factory = DeviceFactory::GetFactory(device_type); SessionOptions options; std::vector<std::unique_ptr<Device>> devices; Status s = device_factory->CreateDevices( options, "/job:worker/replica:0/task:0", &devices); device_ = std::move(devices[0]); tensorflow::AllocatorAttributes host_alloc_attr;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 3.7K bytes - Viewed (0) -
tensorflow/cc/training/coordinator.h
/// threads under a coordinator to stop. This function could be called by any /// thread or any client. /// Usage, in the client: /// Coordinator coord; /// std::unique_ptr<QueueRunner> qr(&coord, ...); /// qr.Start(session); /// coord.RegisterRunner(std::move(qr)); /// /// do some work /// TF_CHECK_OK(coord.Join());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 12 08:49:52 UTC 2023 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/converter_python_api.cc
char* buf = nullptr; Py_ssize_t length; std::unique_ptr<PythonErrorReporter> error_reporter(new PythonErrorReporter); if (tflite::python_utils::ConvertFromPyString(data, &buf, &length) == -1) { PyErr_Format(PyExc_ValueError, "Failed to convert input PyObject"); return nullptr; } std::unique_ptr<tflite::FlatBufferModel> model = tflite::FlatBufferModel::BuildFromBuffer(buf, length,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 19.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/debugging/mlir_dump_test.cc
NoOpPass() = default; llvm::StringRef getArgument() const final { return "no-op-pass"; } void runOnOperation() override { // Noop pass does nothing on the operation. } }; std::unique_ptr<mlir::OperationPass<mlir::ModuleOp>> CreateNoOpPass() { return std::make_unique<NoOpPass>(); } class ParentPass : public mlir::PassWrapper<ParentPass,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 03:17:14 UTC 2024 - 6.4K bytes - Viewed (0) -
tensorflow/compiler/jit/pjrt_device_compiler_client.h
: public DeviceCompilerClient<xla::PjRtLoadedExecutable, xla::PjRtClient> { public: explicit PjRtDeviceCompilerClient(xla::PjRtClient* client) : client_(client) {} absl::StatusOr<std::unique_ptr<xla::PjRtLoadedExecutable>> BuildExecutable( const XlaCompiler::Options& options, const XlaCompiler::CompilationResult& result) override; // Returns a platform-specific serialization of `executable`. The
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 3.4K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental_test.cc
server_def.set_job_name("worker"); server_def.set_task_index(0); std::unique_ptr<tensorflow::ServerInterface> w0; ASSERT_TRUE( factory->NewServer(server_def, ServerFactory::Options(), &w0).ok()); ASSERT_TRUE(w0->Start().ok()); server_def.set_task_index(1); std::unique_ptr<tensorflow::ServerInterface> w1; ASSERT_TRUE(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Aug 03 03:14:26 UTC 2023 - 31.5K bytes - Viewed (0) -
tensorflow/c/kernels/histogram_summary_op.cc
}; // Struct that wraps TF_Tensor and TF_Status to delete once out of scope. using Safe_TF_TensorPtr = std::unique_ptr<TF_Tensor, TFTensorDeleter>; using Safe_TF_StatusPtr = std::unique_ptr<TF_Status, TFStatusDeleter>; // Used to pass the operation node name from kernel construction to // kernel computation. struct HistogramSummaryOp { std::string op_node_name; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 6.5K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/custom_gradient_test.cc
Tape tape(/*persistent=*/false); tape.Watch(inputs[0]); // Watch x. AbstractTensorHandle* exp_output; TF_RETURN_IF_ERROR(ops::Exp(ctx, inputs[0], &exp_output, "Exp")); std::unique_ptr<GradientFunction> gradient_function( new PassThroughGradientFunction); tape.RecordOperation(inputs, {exp_output}, gradient_function.release()); TF_RETURN_IF_ERROR(tape.ComputeGradient(ctx,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 13:53:47 UTC 2024 - 4.8K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc
const SavedObjectGraph& obj_graph, const PartiallyRevivedObjects& objects, std::unique_ptr<TFConcreteFunction>* out) { const auto& capture_node_ids = builder.saved_concrete_func->bound_inputs(); std::vector<ImmediateExecutionTensorHandle*> captures; captures.reserve(capture_node_ids.size());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 09 20:11:48 UTC 2023 - 23.7K bytes - Viewed (0)