2017-10-18 45 views

回答

0

這目前不可能。

TensorFlow驗證傳遞給einsumusing the following regular expression公式:

match = re.match('([a-z,]+)(->[a-z]*)?', equation) 
if not match: 
    raise ValueError(
     'Indices have incorrect format: %s' % equation 
) 

任何字符不在類[a-z]會導致引發錯誤的功能。由於TensorFlow的einsum函數不支持橢圓...,且所有軸必須明確標記,因此只能使用26維或更小的張量。

相關問題