LCOV - code coverage report
Current view: top level - libtorch/include/ATen/ops - log.h (source / functions) Coverage Total Hit
Test: coverage.info Lines: 100.0 % 2 2
Test Date: 2024-04-30 13:17:26 Functions: 100.0 % 1 1

            Line data    Source code
       1              : #pragma once
       2              : 
       3              : // @generated by torchgen/gen.py from Function.h
       4              : 
       5              : #include <ATen/Context.h>
       6              : #include <ATen/DeviceGuard.h>
       7              : #include <ATen/TensorUtils.h>
       8              : #include <ATen/TracerMode.h>
       9              : #include <ATen/core/Generator.h>
      10              : #include <ATen/core/Reduction.h>
      11              : #include <ATen/core/Tensor.h>
      12              : #include <c10/core/Scalar.h>
      13              : #include <c10/core/Storage.h>
      14              : #include <c10/core/TensorOptions.h>
      15              : #include <c10/util/Deprecated.h>
      16              : #include <c10/util/Optional.h>
      17              : 
      18              : 
      19              : 
      20              : #include <ATen/ops/log_ops.h>
      21              : 
      22              : namespace at {
      23              : 
      24              : 
      25              : // aten::log(Tensor self) -> Tensor
      26        16480 : inline at::Tensor log(const at::Tensor & self) {
      27        16480 :     return at::_ops::log::call(self);
      28              : }
      29              : 
      30              : // aten::log_(Tensor(a!) self) -> Tensor(a!)
      31              : inline at::Tensor & log_(at::Tensor & self) {
      32              :     return at::_ops::log_::call(self);
      33              : }
      34              : 
      35              : // aten::log.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!)
      36              : inline at::Tensor & log_out(at::Tensor & out, const at::Tensor & self) {
      37              :     return at::_ops::log_out::call(self, out);
      38              : }
      39              : // aten::log.out(Tensor self, *, Tensor(a!) out) -> Tensor(a!)
      40              : inline at::Tensor & log_outf(const at::Tensor & self, at::Tensor & out) {
      41              :     return at::_ops::log_out::call(self, out);
      42              : }
      43              : 
      44              : }
        

Generated by: LCOV version 2.0-1