Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

shape

import keras.backend as K 
import numpy as np

x = K.variable(np.eye(2, 2)) 

print('shape:', K.shape(x))
print('int_shape:', K.int_shape(x))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #shape
ADD COMMENT
Topic
Name
2+1 =