CorTeX Core ABI 7
ToolTech Software · C++ library reference
Loading...
Searching...
No Matches
ctxModule Class Reference

Immutable reusable graph with one explicit rank-one FLOAT Input and a whole final result, without a terminal Output. More...

#include <ctxGraph.h>

Public Member Functions

 ctxModule ()
 ctxModule (const ctxGraph &graph, const ctxValue &output)
gzBool isValid () const
gzString getError () const
ctxShape getInputShape () const
ctxShape getOutputShape () const
ctxValue operator() (const ctxValue &input, const gzString &prefix) const
 The prefix is required; failure returns an invalid value with a diagnostic.

Friends

class ctxGraph

Detailed Description

Immutable reusable graph with one explicit rank-one FLOAT Input and a whole final result, without a terminal Output.

Calls copy the captured graph into the caller under unused prefixed operation paths. Parameter identities are fresh per call; internal sharing, operation data and captured definitions remain intact. The Input becomes an explicit parameter-free Linear boundary adapter. Instances use ordinary graph persistence and realization, not a module runtime.

Definition at line 983 of file ctxGraph.h.

Constructor & Destructor Documentation

◆ ctxModule() [1/2]

ctxModule::ctxModule ( )

References CTX_EXPORT.

◆ ctxModule() [2/2]

ctxModule::ctxModule ( const ctxGraph & graph,
const ctxValue & output )

References CTX_EXPORT, and ctxGraph.

Member Function Documentation

◆ getError()

gzString ctxModule::getError ( ) const

References CTX_EXPORT.

◆ getInputShape()

ctxShape ctxModule::getInputShape ( ) const

References CTX_EXPORT.

◆ getOutputShape()

ctxShape ctxModule::getOutputShape ( ) const

References CTX_EXPORT.

◆ isValid()

gzBool ctxModule::isValid ( ) const

References CTX_EXPORT.

◆ operator()()

ctxValue ctxModule::operator() ( const ctxValue & input,
const gzString & prefix ) const

The prefix is required; failure returns an invalid value with a diagnostic.

References CTX_EXPORT.

◆ ctxGraph

friend class ctxGraph
friend

Definition at line 998 of file ctxGraph.h.

References ctxGraph.

Referenced by ctxGraph, and ctxModule().


The documentation for this class was generated from the following file: