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_apply.h
1
#pragma once
2
3
#include <torch/csrc/python_headers.h>
4
#include <ATen/ATen.h>
5
6
namespace
torch
{
namespace
utils {
7
8
at::Tensor
& apply_(
at::Tensor
&
self
, PyObject* fn);
9
at::Tensor
& map_(
at::Tensor
&
self
,
const
at::Tensor
& other_, PyObject* fn);
10
at::Tensor
& map2_(
at::Tensor
&
self
,
const
at::Tensor
& x_,
11
const
at::Tensor
& y_, PyObject* fn);
12
13
}}
// namespace torch::utils
at::Tensor
Definition:
Tensor.h:48
torch
Definition:
jit_type.h:17
Generated on Thu Mar 21 2019 13:06:24 for Caffe2 - C++ API by
1.8.11