Files
BayesNet/html/libtorch/include/ATen/ops/triu_indices.h.gcov.html

8.3 KiB

<html lang="en"> <head> </head>
LCOV - code coverage report
Current view: top level - libtorch/include/ATen/ops - triu_indices.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/triu_indices_ops.h>
      21              : 
      22              : namespace at {
      23              : 
      24              : 
      25              : // aten::triu_indices(int row, int col, int offset=0, *, ScalarType? dtype=long, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
      26           68 : inline at::Tensor triu_indices(int64_t row, int64_t col, int64_t offset=0, at::TensorOptions options=at::kLong) {
      27           68 :     return at::_ops::triu_indices::call(row, col, offset, optTypeMetaToScalarType(options.dtype_opt()), options.layout_opt(), options.device_opt(), options.pinned_memory_opt());
      28              : }
      29              : // aten::triu_indices(int row, int col, int offset=0, *, ScalarType? dtype=long, Layout? layout=None, Device? device=None, bool? pin_memory=None) -> Tensor
      30              : inline at::Tensor triu_indices(int64_t row, int64_t col, int64_t offset, c10::optional<at::ScalarType> dtype, c10::optional<at::Layout> layout, c10::optional<at::Device> device, c10::optional<bool> pin_memory) {
      31              :     return at::_ops::triu_indices::call(row, col, offset, dtype, layout, device, pin_memory);
      32              : }
      33              : 
      34              : // aten::triu_indices.out(int row, int col, int offset=0, *, Tensor(a!) out) -> Tensor(a!)
      35              : inline at::Tensor & triu_indices_out(at::Tensor & out, int64_t row, int64_t col, int64_t offset=0) {
      36              :     return at::_ops::triu_indices_out::call(row, col, offset, out);
      37              : }
      38              : // aten::triu_indices.out(int row, int col, int offset=0, *, Tensor(a!) out) -> Tensor(a!)
      39              : inline at::Tensor & triu_indices_outf(int64_t row, int64_t col, int64_t offset, at::Tensor & out) {
      40              :     return at::_ops::triu_indices_out::call(row, col, offset, out);
      41              : }
      42              : 
      43              : }
        

Generated by: LCOV version 2.0-1

</html>