![]() |
The Inspector (GNU Radio module gr-inspector)
|
tfmodel_vcf is a sync block to produce PMT output from a TensorFlow graph More...
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 | |
tfmodel_vcf is a sync block to produce PMT output from a TensorFlow graph
| def python.tfmodel_vcf.tfmodel_vcf.__init__ | ( | self, | |
| dtype, | |||
| vlen, | |||
| graphfile, | |||
| reshape, | |||
| signum | |||
| ) |
Create our block.
| dtype | Type of input |
| vlen | Length of input |
| graphfile | TensorFlow graph file |
| reshape | How to reshape the input data |
| signum | Signal number |
| def python.tfmodel_vcf.tfmodel_vcf.load_graph | ( | self, | |
| output_graph_path | |||
| ) |
Load graph from file through TensorFlow serving.
| output_graph_path | Path of graph file |
| def python.tfmodel_vcf.tfmodel_vcf.work | ( | self, | |
| input_items, | |||
| output_items | |||
| ) |
Work function to accept input fam data, to reshape and pass to model.
| input_items | Input data |
| output_items | Ignored |
References python.tfmodel_vcf.tfmodel_vcf.classes, python.tfmodel_vcf.tfmodel_vcf.dtype, python.tfmodel_vcf.tfmodel_vcf.inp, python.tfmodel_vcf.tfmodel_vcf.out, python.tfmodel_vcf.tfmodel_vcf.reshape, python.tfmodel_vcf.tfmodel_vcf.sess, and python.tfmodel_vcf.tfmodel_vcf.signum.
| python.tfmodel_vcf.tfmodel_vcf.classes |
Referenced by python.tfmodel_vcf.tfmodel_vcf.work().
| python.tfmodel_vcf.tfmodel_vcf.dtype |
Referenced by python.tfmodel_vcf.tfmodel_vcf.work().
| python.tfmodel_vcf.tfmodel_vcf.inp |
Referenced by python.tfmodel_vcf.tfmodel_vcf.work().
| python.tfmodel_vcf.tfmodel_vcf.inputs |
| python.tfmodel_vcf.tfmodel_vcf.out |
Referenced by python.tfmodel_vcf.tfmodel_vcf.work().
| python.tfmodel_vcf.tfmodel_vcf.reshape |
| python.tfmodel_vcf.tfmodel_vcf.sess |
Referenced by python.tfmodel_vcf.tfmodel_vcf.work().
| python.tfmodel_vcf.tfmodel_vcf.signum |
Referenced by python.tfmodel_vcf.tfmodel_vcf.work().