The Inspector (GNU Radio module gr-inspector)
python.tfmodel_vcf.tfmodel_vcf Class Reference

tfmodel_vcf is a sync block to produce PMT output from a TensorFlow graph More...

Inheritance diagram for python.tfmodel_vcf.tfmodel_vcf:

Public Member Functions

def __init__ (self, dtype, vlen, graphfile, reshape, signum)
 Create our block. More...
 
def load_graph (self, output_graph_path)
 Load graph from file through TensorFlow serving. More...
 
def work (self, input_items, output_items)
 Work function to accept input fam data, to reshape and pass to model. More...
 

Public Attributes

 reshape
 Normalise data. More...
 
 dtype
 
 inputs
 
 sess
 
 inp
 
 out
 
 classes
 
 signum
 

Detailed Description

tfmodel_vcf is a sync block to produce PMT output from a TensorFlow graph

Constructor & Destructor Documentation

◆ __init__()

def python.tfmodel_vcf.tfmodel_vcf.__init__ (   self,
  dtype,
  vlen,
  graphfile,
  reshape,
  signum 
)

Create our block.

Parameters
dtypeType of input
vlenLength of input
graphfileTensorFlow graph file
reshapeHow to reshape the input data
signumSignal number

Member Function Documentation

◆ load_graph()

def python.tfmodel_vcf.tfmodel_vcf.load_graph (   self,
  output_graph_path 
)

Load graph from file through TensorFlow serving.

Parameters
output_graph_pathPath of graph file

◆ work()

def python.tfmodel_vcf.tfmodel_vcf.work (   self,
  input_items,
  output_items 
)

Member Data Documentation

◆ classes

python.tfmodel_vcf.tfmodel_vcf.classes

◆ dtype

python.tfmodel_vcf.tfmodel_vcf.dtype

◆ inp

python.tfmodel_vcf.tfmodel_vcf.inp

◆ inputs

python.tfmodel_vcf.tfmodel_vcf.inputs

◆ out

python.tfmodel_vcf.tfmodel_vcf.out

◆ reshape

python.tfmodel_vcf.tfmodel_vcf.reshape

Normalise data.

Reshape data as specified

Referenced by python.tfmodel_vcf.tfmodel_vcf.work().

◆ sess

python.tfmodel_vcf.tfmodel_vcf.sess

◆ signum

python.tfmodel_vcf.tfmodel_vcf.signum

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