Skip to content

Commit

Permalink
Add dense schedules to __init__ for cpu (apache#2855)
Browse files Browse the repository at this point in the history
* Add dense schedules to __init__ for cpu

* Add documentation for topi::shape

* Add additional imports to topi CPU __init__.
  • Loading branch information
jhonyguan authored and MarisaKirisame committed Apr 9, 2019
1 parent 2fc7662 commit 758a3b9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions topi/include/topi/transform.h
Original file line number Diff line number Diff line change
Expand Up @@ -1084,6 +1084,7 @@ inline Tensor layout_transform(const Tensor& src,
/*!
* \brief Get the shape of input tensor.
* \param src the input tensor.
* \param dtype the type of the elements in the tensor.
* \param name output tensor name.
* \param tag output tensor tag.
* \return Tensor of input shape.
Expand Down
2 changes: 2 additions & 0 deletions topi/python/topi/x86/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@
from .pooling import schedule_pool, schedule_global_pool
from .bitserial_conv2d import schedule_bitserial_conv2d
from .depthwise_conv2d import schedule_depthwise_conv2d_NCHWc
from .dense import _schedule_dense, _schedule_dense_pack, _schedule_dense_nopack
from .batch_matmul import schedule_batch_matmul

0 comments on commit 758a3b9

Please sign in to comment.