ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
tensor_types.h File Reference

This file contains the definition of the DataType enum class. More...

#include <string>
#include <complex>
#include <iostream>
#include <stdexcept>
#include "source_base/module_device/types.h"
#include "ATen/core/tensor_enums.h"
Include dependency graph for tensor_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  container::GetTypeReal< T >
 Template struct to determine the return type based on the input type. More...
struct  container::GetTypeReal< std::complex< float > >
 Specialization of GetTypeReal for std::complex<float>. More...
struct  container::GetTypeReal< std::complex< double > >
 Specialization of GetTypeReal for std::complex<double>. More...
struct  container::PsiToContainer< T >
struct  container::PsiToContainer< base_device::DEVICE_CPU >
struct  container::PsiToContainer< base_device::DEVICE_GPU >
struct  container::ContainerToPsi< T >
struct  container::ContainerToPsi< container::DEVICE_CPU >
struct  container::ContainerToPsi< container::DEVICE_GPU >

Namespaces

namespace  container

Functions

std::ostream & container::operator<< (std::ostream &os, const DataType &data_type)
 Overloaded operator<< for the Tensor class.
std::ostream & container::operator<< (std::ostream &os, const DeviceType &memory_type)
 Overloaded operator<< for the Tensor class.

Detailed Description

This file contains the definition of the DataType enum class.