field_array.py 170 Bytes
Newer Older
1
2
3
# -*- coding: utf-8 -*-


4
from base_field_type import Field_type
5
6


7
class Field_array(Field_type):
8
9
    def dot_contraction(self, x, axes):
        return x.sum(axis=axes)