Module ImportFrom alias alias alias Import alias ImportFrom alias alias alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias TryExcept body Import alias ImportFrom alias handlers ExceptHandler type NameLoad name NameStore body Pass ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Return ListLoad Str Str Str decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return ListLoad Str decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Dict Num ListLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEqEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad ListLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad CompareLt SubscriptLoad AttributeLoad NameLoad attr Index Num Num body Assign NameStore NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Num Index Num Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Str keyword NameLoad If AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str NameLoad orelse Assign NameStore BinOpMod Str NameLoad AugAssignAdd NameStore BinOpMod Str NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad Num decorator_list decorator_list Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Dict Num ListLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEqEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad ListLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Num Index Num Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Str keyword NameLoad If AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str NameLoad orelse Assign NameStore BinOpMod Str NameLoad AugAssignAdd NameStore BinOpMod Str NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad Num decorator_list decorator_list Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Dict Num ListLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEqEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad ListLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameStore NameStore NameLoad Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd NameLoad UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Num Index Num Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Str keyword NameLoad If AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str NameLoad orelse Assign NameStore BinOpMod Str NameLoad AugAssignAdd NameStore BinOpMod Str NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad Num decorator_list decorator_list Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad ClassDef bases NameLoad body Expr Str Assign NameStore TupleLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword TupleLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Return Call NameLoad NameLoad ListLoad NameLoad NameLoad ListLoad Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign TupleStore NameStore NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num keyword AttributeLoad NameLoad attr keyword AttributeLoad NameLoad attr Assign SubscriptStore SubscriptLoad NameLoad Index Num Index Num Call AttributeLoad NameLoad attr Num NameLoad NameLoad Num NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call NameLoad keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword NameLoad keyword SubscriptLoad NameLoad Index Num keyword NameLoad keyword SubscriptLoad NameLoad Index Str keyword NameLoad Assign NameStore BinOpMod Str NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad Num decorator_list decorator_list Assign NameStore Call NameLoad ClassDef bases NameLoad body Assign NameStore TupleLoad Str FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr Dict Num ListLoad Num decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEq AttributeLoad NameLoad attr Num Assert CompareEqEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad NameLoad ListLoad NameLoad NameLoad NameLoad NameLoad NameLoad ListLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return BinOpAdd Call AttributeLoad Call NameLoad NameLoad NameLoad attr ListLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Num keyword SubscriptLoad NameLoad Index Str keyword NameLoad Assign NameStore Str If AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpMod Str NameLoad orelse AugAssignAdd NameStore BinOpMod Str NameLoad AugAssignAdd NameStore BinOpMod Str NameLoad If AttributeLoad AttributeLoad NameLoad attr attr body AugAssignAdd NameStore BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return TupleLoad Num decorator_list decorator_list Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad FunctionDef arguments args NameParam NameParam defaults body Return ListLoad Call NameLoad NameLoad decorator_list Call NameLoad NameLoad Num FunctionDef arguments args NameParam NameParam defaults body Return ListLoad Call NameLoad NameLoad decorator_list Call NameLoad NameLoad Num FunctionDef arguments args NameParam NameParam defaults body Return ListLoad Call NameLoad NameLoad decorator_list Call NameLoad NameLoad Num Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad NameLoad keyword Str Expr Call AttributeLoad NameLoad attr Str NameLoad Num Str Str Str
N/A __future__ absolute_import print_function division N/A os.path theano Apply config Op theano.compile optdb theano.gof LocalOptGroup theano.tensor.basic as_tensor_variable theano.tensor.opt in2out basic_ops as_gpuarray_variable infer_context_name opt_util inplace_allocempty N/A N/A N/A pygpu pygpu blas N/A N/A N/A ImportError N/A e N/A N/A BlasOp N/A Op N/A c_headers N/A N/A self N/A N/A N/A N/A <blas_api.h> <numpy_compat.h> <gpuarray_helper.h> N/A c_header_dirs N/A N/A self N/A N/A N/A N/A N/A N/A pygpu get_include N/A N/A N/A os path dirname __file__ N/A c_init_code N/A N/A self N/A N/A N/A N/A import_pygpu__blas(); N/A N/A GpuGemv N/A BlasOp N/A N/A 
    Gemv on the GPU.

     N/A __props__ N/A inplace __init__ N/A N/A self inplace N/A False N/A N/A N/A self inplace inplace N/A N/A self inplace N/A N/A N/A self destroy_map N/A 0 N/A 0 N/A make_node N/A N/A self y alpha A x beta N/A N/A N/A ctx_name N/A infer_context_name y A x N/A A N/A as_gpuarray_variable A ctx_name N/A x N/A as_gpuarray_variable x ctx_name N/A y N/A as_gpuarray_variable y ctx_name N/A alpha N/A as_tensor_variable alpha N/A beta N/A as_tensor_variable beta N/A N/A N/A alpha ndim 0 N/A N/A N/A beta ndim 0 N/A N/A N/A A ndim 2 N/A N/A N/A x ndim 1 N/A N/A N/A y ndim 1 N/A N/A N/A A dtype N/A x dtype N/A y dtype N/A N/A Apply self N/A y alpha A x beta N/A N/A N/A y type N/A perform N/A N/A self node inputs out_storage N/A N/A N/A N/A y alpha A x beta inputs N/A inplace N/A self inplace N/A N/A inplace N/A N/A N/A y strides N/A 0 0 N/A N/A inplace False N/A N/A N/A out_storage N/A 0 N/A 0 N/A N/A blas gemv alpha A x beta y overwrite_y inplace N/A c_code N/A N/A self node name inp out sub N/A N/A N/A vars N/A dict out N/A out N/A 0 y N/A inp N/A 0 alpha N/A inp N/A 1 A N/A inp N/A 2 x N/A inp N/A 3 beta N/A inp N/A 4 fail N/A sub N/A fail name name N/A N/A self inplace N/A N/A code N/A 
                   if (%(y)s->ga.strides[0] <= 0) {
                     %(out)s = theano_try_copy(%(out)s, %(y)s);
                     if (%(out)s == NULL) {
                       %(fail)s
                     }
                   } else {
                     Py_XDECREF(%(out)s);
                     %(out)s = %(y)s;
                     Py_INCREF(%(out)s);
                   }
                    vars N/A N/A code N/A 
                   %(out)s = theano_try_copy(%(out)s, %(y)s);
                   if (%(out)s == NULL) {
                       %(fail)s
                   }
                    vars N/A code N/A 
        if (pygpu_blas_rgemv(cb_no_trans,
                             ((dtype_%(alpha)s *)PyArray_DATA(%(alpha)s))[0],
                             %(A)s, %(x)s,
                             ((dtype_%(beta)s *)PyArray_DATA(%(beta)s))[0],
                             %(out)s, 0) == -1) {
            %(fail)s
        }
         vars N/A N/A N/A config gpuarray sync N/A N/A code N/A 
            GpuArray_sync(&%(out)s->ga);
             vars N/A code N/A c_code_cache_version N/A N/A self N/A N/A N/A N/A 4 N/A N/A N/A gpugemv_no_inplace N/A GpuGemv inplace False N/A gpugemv_inplace N/A GpuGemv inplace True GpuGemm N/A BlasOp N/A N/A 
    Gemm on the GPU.

     N/A __props__ N/A inplace N/A _f16_ok True __init__ N/A N/A self inplace N/A False N/A N/A N/A self inplace inplace N/A N/A self inplace N/A N/A N/A self destroy_map N/A 0 N/A 0 N/A make_node N/A N/A self C alpha A B beta N/A N/A N/A ctx_name N/A infer_context_name C A B N/A A N/A as_gpuarray_variable A ctx_name N/A B N/A as_gpuarray_variable B ctx_name N/A C N/A as_gpuarray_variable C ctx_name N/A alpha N/A as_tensor_variable alpha N/A beta N/A as_tensor_variable beta N/A N/A N/A alpha ndim 0 N/A N/A N/A beta ndim 0 N/A N/A N/A A ndim 2 N/A N/A N/A B ndim 2 N/A N/A N/A C ndim 2 N/A N/A N/A A dtype N/A B dtype N/A C dtype N/A N/A Apply self N/A C alpha A B beta N/A N/A N/A C type N/A perform N/A N/A self node inputs outputs N/A N/A N/A N/A C alpha A B beta inputs N/A inplace N/A self inplace N/A N/A inplace N/A N/A N/A C flags forc N/A N/A inplace False N/A N/A N/A outputs N/A 0 N/A 0 N/A N/A blas gemm alpha A B beta C overwrite_c inplace N/A c_code N/A N/A self node name inp out sub N/A N/A N/A vars N/A dict out N/A out N/A 0 C N/A inp N/A 0 alpha N/A inp N/A 1 A N/A inp N/A 2 B N/A inp N/A 3 beta N/A inp N/A 4 fail N/A sub N/A fail name name N/A N/A self inplace N/A N/A code N/A 
                   if (!GpuArray_ISONESEGMENT(&%(C)s->ga)) {
                     %(out)s = theano_try_copy(%(out)s, %(C)s);
                     if (%(out)s == NULL) {
                       %(fail)s
                     }
                   } else {
                     Py_XDECREF(%(out)s);
                     %(out)s = %(C)s;
                     Py_INCREF(%(out)s);
                   }
                    vars N/A N/A code N/A 
                   %(out)s = theano_try_copy(%(out)s, %(C)s);
                   if (%(out)s == NULL) {
                       %(fail)s
                   }
                    vars N/A code N/A 
        if (pygpu_blas_rgemm(cb_no_trans, cb_no_trans,
                             ((dtype_%(alpha)s *)PyArray_DATA(%(alpha)s))[0],
                             %(A)s, %(B)s,
                             ((dtype_%(beta)s *)PyArray_DATA(%(beta)s))[0],
                             %(out)s, 0) == -1) {
            %(fail)s
        }
         vars N/A N/A N/A config gpuarray sync N/A N/A code N/A 
            GpuArray_sync(&%(out)s->ga);
             vars N/A code N/A c_code_cache_version N/A N/A self N/A N/A N/A N/A 5 N/A N/A N/A gpugemm_no_inplace N/A GpuGemm inplace False N/A gpugemm_inplace N/A GpuGemm inplace True GpuGer N/A BlasOp N/A N/A 
    Ger on the GPU.

     N/A __props__ N/A inplace __init__ N/A N/A self inplace N/A False N/A N/A N/A self inplace inplace N/A N/A self inplace N/A N/A N/A self destroy_map N/A 0 N/A 0 N/A make_node N/A N/A self A alpha x y N/A N/A N/A ctx_name N/A infer_context_name A x y N/A A N/A as_gpuarray_variable A ctx_name N/A x N/A as_gpuarray_variable x ctx_name N/A y N/A as_gpuarray_variable y ctx_name N/A alpha N/A as_tensor_variable alpha N/A N/A N/A alpha ndim 0 N/A N/A N/A A ndim 2 N/A N/A N/A x ndim 1 N/A N/A N/A y ndim 1 N/A N/A N/A A dtype N/A x dtype N/A y dtype N/A N/A Apply self N/A A alpha x y N/A N/A N/A A type N/A perform N/A N/A self node inp out N/A N/A N/A N/A A alpha x y inp N/A inplace N/A self inplace N/A N/A inplace N/A N/A N/A A flags forc N/A N/A inplace False N/A N/A N/A out N/A 0 N/A 0 N/A N/A blas ger alpha x y A overwrite_a inplace N/A c_code N/A N/A self node name inp out sub N/A N/A N/A vars N/A dict out N/A out N/A 0 A N/A inp N/A 0 alpha N/A inp N/A 1 x N/A inp N/A 2 y N/A inp N/A 3 fail N/A sub N/A fail name name N/A N/A self inplace N/A N/A code N/A 
                   if (!GpuArray_ISONESEGMENT(&%(A)s->ga)) {
                     %(out)s = theano_try_copy(%(out)s, %(A)s);
                     if (%(out)s == NULL) {
                       %(fail)s
                     }
                   } else {
                     Py_XDECREF(%(out)s);
                     %(out)s = %(A)s;
                     Py_INCREF(%(out)s);
                   }
                    vars N/A N/A code N/A 
                   %(out)s = theano_try_copy(%(out)s, %(A)s);
                   if (%(out)s == NULL) {
                       %(fail)s
                   }
                    vars N/A code N/A 
        if (pygpu_blas_rger(((dtype_%(alpha)s *)PyArray_DATA(%(alpha)s))[0],
                            %(x)s, %(y)s, %(out)s, 0) == -1) {
            %(fail)s
        }
         vars N/A N/A N/A config gpuarray sync N/A N/A code N/A 
            GpuArray_sync(&%(out)s->ga);
             vars N/A code N/A c_code_cache_version N/A N/A self N/A N/A N/A N/A 3 N/A N/A N/A gpuger_no_inplace N/A GpuGer inplace False N/A gpuger_inplace N/A GpuGer inplace True GpuDot22 N/A BlasOp N/A N/A 
    Dot22 on the GPU.

     N/A __props__ N/A make_node N/A N/A self x y N/A N/A N/A ctx_name N/A infer_context_name x y N/A x N/A as_gpuarray_variable x ctx_name N/A y N/A as_gpuarray_variable y ctx_name N/A N/A N/A x ndim 2 N/A N/A N/A y ndim 2 N/A N/A N/A x dtype N/A y dtype N/A otype N/A N/A N/A x type clone broadcastable N/A N/A N/A N/A x type broadcastable N/A 0 N/A N/A N/A y type broadcastable N/A 1 N/A N/A Apply self N/A x y N/A N/A otype N/A perform N/A N/A self node inputs outputs N/A N/A N/A N/A x y inputs N/A out N/A N/A pygpu empty N/A N/A N/A x shape N/A 0 N/A N/A y shape N/A 1 dtype N/A x dtype context N/A x context N/A N/A N/A outputs N/A 0 N/A 0 N/A N/A blas gemm 1.0 x y 0.0 out overwrite_c True N/A c_code N/A N/A self node name inputs outputs sub N/A N/A N/A dtype N/A N/A N/A node inputs N/A 0 dtype N/A typecode N/A N/A N/A pygpu gpuarray dtype_to_typecode dtype N/A vars N/A dict A N/A inputs N/A 0 B N/A inputs N/A 1 dtype dtype out N/A outputs N/A 0 typecode typecode fail N/A sub N/A fail name name N/A code N/A 
        double one = 1.;
        double zero = 0.;

        size_t dims[] = {0, 0};
        dims[0] = PyGpuArray_DIMS(%(A)s)[0];
        dims[1] = PyGpuArray_DIMS(%(B)s)[1];

        if (theano_prep_output(&%(out)s, 2, dims, %(typecode)s, GA_C_ORDER,
                               %(A)s->context)) {
            %(fail)s
        }

        if (pygpu_blas_rgemm(cb_no_trans, cb_no_trans,
                             one,
                             %(A)s, %(B)s,
                             zero,
                             %(out)s, 0) == -1) {
            %(fail)s
        }
         vars N/A N/A N/A config gpuarray sync N/A N/A code N/A 
            GpuArray_sync(&%(out)s->ga);
             vars N/A code N/A c_code_cache_version N/A N/A self N/A N/A N/A N/A 4 N/A N/A N/A gpu_dot22 N/A GpuDot22 GpuGemmBatch N/A BlasOp N/A N/A __props__ N/A inplace __init__ N/A N/A self inplace N/A False N/A N/A N/A self inplace inplace N/A N/A self inplace N/A N/A N/A self destroy_map N/A 0 N/A 0 N/A make_node N/A N/A self C alpha A B beta N/A N/A N/A ctx_name N/A infer_context_name C A B N/A A N/A as_gpuarray_variable A ctx_name N/A B N/A as_gpuarray_variable B ctx_name N/A C N/A as_gpuarray_variable C ctx_name N/A alpha N/A as_tensor_variable alpha N/A beta N/A as_tensor_variable beta N/A N/A N/A alpha ndim 0 N/A N/A N/A beta ndim 0 N/A N/A N/A A ndim 3 N/A N/A N/A B ndim 3 N/A N/A N/A C ndim 3 N/A N/A N/A A dtype N/A B dtype N/A C dtype N/A N/A Apply self N/A C alpha A B beta N/A N/A N/A C type N/A c_headers N/A N/A self N/A N/A N/A N/A N/A N/A N/A super GpuGemmBatch self c_headers N/A <gpuarray/blas.h> N/A c_code N/A N/A self node name inp out sub N/A N/A N/A vars N/A dict out N/A out N/A 0 C N/A inp N/A 0 alpha N/A inp N/A 1 A N/A inp N/A 2 B N/A inp N/A 3 beta N/A inp N/A 4 fail N/A sub N/A fail name name N/A code 
        int err;
         N/A N/A self inplace N/A N/A code N/A 
                   if (!GpuArray_ISONESEGMENT(&%(C)s->ga)) {
                     %(out)s = theano_try_copy(%(out)s, %(C)s);
                     if (%(out)s == NULL) {
                       %(fail)s
                     }
                   } else {
                     Py_XDECREF(%(out)s);
                     %(out)s = %(C)s;
                     Py_INCREF(%(out)s);
                   }
                    vars N/A N/A code N/A 
                   %(out)s = theano_try_copy(%(out)s, %(C)s);
                   if (%(out)s == NULL) {
                       %(fail)s
                   }
                    vars N/A code N/A 
        err = GpuArray_rgemmBatch_3d(
            cb_no_trans, cb_no_trans,
            ((dtype_%(alpha)s *)PyArray_DATA(%(alpha)s))[0],
            &%(A)s->ga, &%(B)s->ga,
            ((dtype_%(beta)s *)PyArray_DATA(%(beta)s))[0],
            &%(out)s->ga, 0);
        if (err != GA_NO_ERROR) {
            PyErr_Format(PyExc_RuntimeError,
                         "%%s", GpuArray_error(&%(A)s->ga, err));
            %(fail)s;
        }
         vars N/A N/A N/A config gpuarray sync N/A N/A code N/A 
            GpuArray_sync(&%(out)s->ga);
             vars N/A code N/A c_code_cache_version N/A N/A self N/A N/A N/A N/A 1 N/A N/A N/A gpugemmbatch_no_inplace N/A GpuGemmBatch inplace False N/A gpugemmbatch_inplace N/A GpuGemmBatch inplace True local_inplace_gpuagemv N/A N/A node inputs N/A N/A N/A N/A N/A gpugemv_inplace inputs N/A N/A inplace_allocempty GpuGemv 0 local_inplace_gpuagemm N/A N/A node inputs N/A N/A N/A N/A N/A gpugemm_inplace inputs N/A N/A inplace_allocempty GpuGemm 0 local_inplace_gpuager N/A N/A node inputs N/A N/A N/A N/A N/A gpuger_inplace inputs N/A N/A inplace_allocempty GpuGer 0 N/A gpuablas_opt_inplace N/A in2out N/A LocalOptGroup local_inplace_gpuagemv local_inplace_gpuagemm local_inplace_gpuager name gpuablas_opt_inplace N/A N/A N/A optdb register InplaceGpuaBlasOpt gpuablas_opt_inplace 70.0 fast_run inplace gpuarray