from __future__ import absolute_import

import numpy

from dbnd._vendor import fast_hasher
from targets.values.builtins_values import DataValueType


class NumpyArrayValueType(DataValueType):
    type = numpy.ndarray
    config_name = "numpy_ndarray"
    support_merge = True

    def to_signature(self, x):
        return fast_hasher.hash(x)

    def merge_values(self, *values, **kwargs):
        import numpy as np

        return np.concatenate(values)

f96c17e6dc1e7f432740930dd1869f426af5fb31
<mask token>


class NumpyArrayValueType(DataValueType):
    <mask token>
    <mask token>
    <mask token>
    <mask token>

    def merge_values(self, *values, **kwargs):
        import numpy as np
        return np.concatenate(values)

<mask token>


class NumpyArrayValueType(DataValueType):
    <mask token>
    <mask token>
    <mask token>

    def to_signature(self, x):
        return fast_hasher.hash(x)

    def merge_values(self, *values, **kwargs):
        import numpy as np
        return np.concatenate(values)

<mask token>


class NumpyArrayValueType(DataValueType):
    type = numpy.ndarray
    config_name = 'numpy_ndarray'
    support_merge = True

    def to_signature(self, x):
        return fast_hasher.hash(x)

    def merge_values(self, *values, **kwargs):
        import numpy as np
        return np.concatenate(values)

from __future__ import absolute_import
import numpy
from dbnd._vendor import fast_hasher
from targets.values.builtins_values import DataValueType


class NumpyArrayValueType(DataValueType):
    type = numpy.ndarray
    config_name = 'numpy_ndarray'
    support_merge = True

    def to_signature(self, x):
        return fast_hasher.hash(x)

    def merge_values(self, *values, **kwargs):
        import numpy as np
        return np.concatenate(values)

from __future__ import absolute_import

import numpy

from dbnd._vendor import fast_hasher
from targets.values.builtins_values import DataValueType


class NumpyArrayValueType(DataValueType):
    type = numpy.ndarray
    config_name = "numpy_ndarray"
    support_merge = True

    def to_signature(self, x):
        return fast_hasher.hash(x)

    def merge_values(self, *values, **kwargs):
        import numpy as np

        return np.concatenate(values)
