Caffe2 - C++ API
A deep learning, cross platform ML framework
Related Pages
Modules
Data Structures
Files
C++ API
Python API
GitHub
File List
Globals
torch
csrc
utils
tensor_types.h
1
#pragma once
2
3
#include <ATen/ATen.h>
4
#include <utility>
5
#include <vector>
6
7
namespace
torch
{
namespace
utils {
8
9
std::string type_to_string(
const
at::Type
& type);
10
at::Type
& type_from_string(
const
std::string& str);
11
12
// return a vector of all "declared" types, even those that weren't compiled
13
std::vector<std::pair<at::Backend, at::ScalarType>> all_declared_types();
14
15
}}
// namespace torch::utils
c10::Type
Definition:
jit_type.h:65
torch
Definition:
jit_type.h:17
Generated on Thu Mar 21 2019 13:06:24 for Caffe2 - C++ API by
1.8.11