lamppp
Loading...
Searching...
No Matches
include
lamppp
tensor
native
shape_ops.hpp
1
#pragma once
2
3
#include "lamppp/tensor/tensor.hpp"
4
5
namespace
lmp::tensor::ops {
6
14
Tensor reshape(
const
Tensor& a, std::vector<size_t> new_shape);
15
23
Tensor squeeze(
const
Tensor& a,
size_t
dim);
24
32
Tensor expand_dims(
const
Tensor& a,
size_t
dim);
33
34
}
// namespace lmp::tensor::ops
Generated by
1.9.8