def ndim(x):
    dims = x.get_shape()._dims
    if dims is not None:
        return len(dims)
    return None
get_vendor_id() == 'AuthenticAMD'
dataset/ETHPy150Open fchollet/keras/keras/backend/tensorflow_backend.py/ndim--crossover with--dataset/ETHPy150Open hakril/PythonForWindows/windows/native_exec/cpuid.py/is_amd_proc