Zha0q1 opened a new issue #20420:
URL: https://github.com/apache/incubator-mxnet/issues/20420


   Here's a simple model which just has one operator:
   ```
       def forward(self, a):
           return a - 37.38088245350211
   
   ```
   This model will export this symbol file:
   ```
   {
     "nodes": [
       {
         "op": "null",
         "name": "data",
         "attrs": {"__profiler_scope__": "<unk>:"},
         "inputs": []
       },
       {
         "op": "_npi_subtract_scalar",
         "name": "node_0",
         "attrs": {
           "is_int": "0",
           "scalar": "37.3809"
         },
         "inputs": [[0, 0, 0]]
       }
     ],
     "arg_nodes": [0],
     "node_row_ptr": [0, 1, 2],
     "heads": [[1, 0, 0]],
     "attrs": {
       "is_np_shape": ["int", 1],
       "mxnet_version": ["int", 20000]
     }
   }
   ```
   as we can see here the scalar only has 4 digits precision after the decimal 
point.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to