This may happen when users want to optimize some compute logic encapsulated in the library. For example, hlib.op.nn.pad with name "pad" is used in conv2d and max_pool. Without renaming, the users can only access one of the padding functions if several conv/pooling layers are used.
See the following example.
It generates the output below, where only the axes of the second "add" are reordered.
This may happen when users want to optimize some compute logic encapsulated in the library. For example,
hlib.op.nn.pad
with name "pad" is used in conv2d and max_pool. Without renaming, the users can only access one of the padding functions if several conv/pooling layers are used.