示例#1
0
 def wrapCrossMapLRN(data, N, alpha, beta, K, test):
     result = MIOpen.lrn(data, MIOpen.LRNMode.cross, N, alpha, beta, K,
                         test)
     return result if not test else (result, None)
示例#2
0
 def wrapMapLRN(data, means, N, alpha, beta, K, test):
     assert means is None
     result = MIOpen.lrn(data, MIOpen.LRNMode.map, N, alpha, beta, K, test)
     return result if not test else (result, None)