afe.ir.serializer.visualizer_defines ==================================== .. py:module:: afe.ir.serializer.visualizer_defines .. autoapi-nested-parse:: Python analogues of data structures for the Netron file format. These are temporary data structures representing data that will be written to a JSON file for Netron. Attributes ---------- .. autoapisummary:: afe.ir.serializer.visualizer_defines.NNodeName Classes ------- .. autoapisummary:: afe.ir.serializer.visualizer_defines.NArray afe.ir.serializer.visualizer_defines.NLayerWeights afe.ir.serializer.visualizer_defines.NInboundNode afe.ir.serializer.visualizer_defines.NLayer afe.ir.serializer.visualizer_defines.NInterfaceLayer Module Contents --------------- .. py:data:: NNodeName .. py:class:: NArray Properties of an array, to be represented in a Keras JSON file's weightsManifest. .. py:attribute:: dtype :type: str .. py:attribute:: shape :type: List[int] .. py:attribute:: name :type: str .. py:method:: to_json() -> Any .. py:class:: NLayerWeights Constant arrays associated with a layer, to be represented in a Keras JSON file's weightsManifest. .. py:attribute:: weights :type: List[NArray] .. py:method:: to_json() -> Any .. py:class:: NInboundNode Properties of an inbound node, to be represented in a Keras JSON file. An inbound node corresponds to one input graph edge of an AwesomeNode. .. py:attribute:: name :type: NNodeName .. py:attribute:: index :type: int .. py:method:: to_json() -> Any .. py:class:: NLayer Properties of a layer, to be represented in a Keras JSON file. A layer corresponds to an AwesomeNode. .. py:attribute:: class_name :type: str .. py:attribute:: name :type: NNodeName .. py:attribute:: inbound_nodes :type: List[NInboundNode] .. py:attribute:: config :type: Dict[str, Any] .. py:method:: to_json() -> Any .. py:class:: NInterfaceLayer Properties of one input or output of a model, to be represented in a Keras JSON file. .. py:attribute:: layer_name :type: NNodeName .. py:attribute:: layer_num :type: int .. py:method:: to_json()