Tannic
A C++ Tensor Library
Loading...
Searching...
No Matches
graph.hpp
Go to the documentation of this file.
1
// Copyright 2025 Eric Hermosis
2
//
3
// This file is part of the Tannic Tensor Library.
4
//
5
// Licensed under the Apache License, Version 2.0 (the "License");
6
// you may not use this file except in compliance with the License.
7
// You may obtain a copy of the License at
8
//
9
// http://www.apache.org/licenses/LICENSE-2.0
10
//
11
// Unless required by applicable law or agreed to in writing, software
12
// distributed under the License is distributed on an "AS IS" BASIS,
13
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
// See the License for the specific language governing permissions and
15
// limitations under the License.
16
//
17
18
#ifndef GRAPH_HPP
19
#define GRAPH_HPP
20
21
#include <cstdint>
22
23
namespace
tannic
{
24
25
class
Tensor;
26
27
// WARNING: THIS FILE IS UNDER ACTIVE DEVELOPMENT!.
28
29
struct
Node
{
30
uintptr_t
id
= 0;
31
Node
(
Tensor
const
&);
32
~Node
();
33
Node
(
const
Node
&) =
delete
;
34
Node
&
operator=
(
const
Node
&) =
delete
;
35
36
Node
(
Node
&& other)
noexcept
;
37
Node
&
operator=
(
Node
&& other)
noexcept
;
38
};
39
40
}
// namespace TANNIC
41
42
#endif
// GRAPH_HPP
tannic::Tensor
A multidimensional, strided tensor data structure.
Definition:
tensor.hpp:99
tannic
Definition:
buffer.hpp:41
tannic::Node
Definition:
graph.hpp:29
tannic::Node::operator=
Node & operator=(Node &&other) noexcept
tannic::Node::Node
Node(const Node &)=delete
tannic::Node::Node
Node(Node &&other) noexcept
tannic::Node::~Node
~Node()
tannic::Node::Node
Node(Tensor const &)
tannic::Node::operator=
Node & operator=(const Node &)=delete
include
tannic
graph.hpp
Generated by
1.9.6