def get_test_value(v):
 if (not isinstance(v, graph.Variable)):
  v_var = theano.tensor.as_tensor_variable(v)
 else:
  v_var = v
 return PureOp._get_test_value(v_var)

def get_test_value ( v ) : if ( not isinstance ( v , graph . Variable ) ) : v_var = theano . tensor . as_tensor_variable ( v ) else : v_var = v return PureOp . _get_test_value ( v_var )
extract test value from v .