Every line of 'np.expand_dims' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
31 def expand_dims(self, input, axis=None): 32 return np.expand_dims(input, axis=axis)
101 def expand_dims(self, a, axis=-1): 102 return self.xp.expand_dims(a, axis=axis)