get integerData() {
        switch (this.type) {
            case 'uint8':
            case 'int8':
            case 'uint16':
            case 'int16':
            case 'int32':
            case 'uint32':
            case 'bool':
                return this.data;
            default:
                throw new TypeError('data type is not integer (uint8, int8, uint16, int16, int32, uint32, bool)');
        }
    }
/**
     * get the underlying integer tensor data. Should only use when type is one of the following: (UINT8, INT8, UINT16,
     * INT16, INT32, UINT32, BOOL)
     */
get the underlying integer tensor data.
get the underlying integer tensor data .
get integerData() {
        switch (this.type) {
            case 'uint8':
            case 'int8':
            case 'uint16':
            case 'int16':
            case 'int32':
            case 'uint32':
            case 'bool':
                return this.data;
            default:
                throw new TypeError('data type is not integer (uint8, int8, uint16, int16, int32, uint32, bool)');
        }
    }
get integerData ( ) { switch ( this . type ) { case 'uint8' : case 'int8' : case 'uint16' : case 'int16' : case 'int32' : case 'uint32' : case 'bool' : return this . data ; default : throw new TypeError ( 'data type is not integer (uint8, int8, uint16, int16, int32, uint32, bool)' ) ; } }
get the underlying integer tensor data.
get the underlying integer tensor data .