FLImaging
7.8.25.3
Toggle main menu visibility
FLImagingAI
FLImagingAI
BackendBase.h
1
#pragma once
2
3
#if _MSC_VER >= 1900 && defined(_M_X64)
4
5
#include "DefinitionsAI.h"
6
7
namespace
FLImaging
8
{
9
namespace
AI
10
{
11
template
<
typename
T>
12
class
CComputationalGraphUtilities;
13
14
template
<
typename
T>
15
class
FL_EXPORT CBackendBase :
public
CAlgorithmAIBase
16
{
17
18
public
:
19
CBackendBase();
20
virtual
~CBackendBase();
21
22
virtual
const
CResult SetDeviceIndex(int32_t i32DeviceIndex);
23
virtual
int32_t GetDeviceIndex()
const
;
24
25
virtual
const
CResult EnableTensorCore(
bool
bTensorCore =
true
);
26
virtual
bool
IsTensorCoreEnabled()
const
;
27
28
virtual
const
CResult
Clear
();
29
DeclareGetClassType();
30
SupportToDuplicateAbstractObject(CBackendBase<T>);
31
32
protected
:
33
virtual
void
Throw(
const
CResult& res,
const
wchar_t
* pWcsExtraMessage =
nullptr
)
const override
;
34
protected
:
35
int32_t m_i32DeviceIndex;
36
bool
m_bTensorCoreEnabled;
37
38
protected
:
39
template
<
typename
T>
40
friend
class
CComputationalGraphUtilities;
41
};
42
}
43
}
44
45
#endif
FLImaging::AI::CAlgorithmAIBase
Processing unit AI class required by algorithm.
Definition
AlgorithmAIBase.h:27
FLImaging::AI
Definition
AlgorithmAIBase.h:18
FLImagingCLR::GUI::EMenuItemObjectFigure::Clear
@ Clear
Clear all the figure objects.
Definition
DefinitionsGUI.h:5083
FLImaging
Generated on
for FLImaging by
1.17.0