You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

alexnet.py 813 B

123456789101112131415161718
  1. # http://www.apache.org/licenses/LICENSE-2.0
  2. #
  3. # Unless required by applicable law or agreed to in writing, software
  4. # distributed under the License is distributed on an "AS IS" BASIS,
  5. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  6. # See the License for the specific language governing permissions and
  7. # limitations under the License.
  8. # ============================================================================
  9. """alexnet module."""
  10. from mindinsight.wizard.network.generic_network import GenericNetwork
  11. class Network(GenericNetwork):
  12. """Network code generator."""
  13. name = 'alexnet'
  14. supported_datasets = ['Cifar10', 'ImageNet']
  15. supported_loss_functions = ['SoftmaxCrossEntropyWithLogits', 'SoftmaxCrossEntropyExpand']
  16. supported_optimizers = ['Momentum', 'Lamb']