Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(22)  |  Call(2)  |  Derive(0)  |  Import(20)

src/p/a/parakeet-0.23.2/parakeet/transforms/lower_indexing.py   parakeet(Download)
from .. ndtypes import SliceT, make_array_type, ArrayT 
from .. ndtypes import NoneT, ScalarT, Int64, PtrT, IntT
from .. syntax import Const, Index, Tuple, Var, ArrayView, Assign, Slice, Struct
from ..syntax.helpers import zero_i64, one_i64
 
    new_strides = self.tuple(new_strides, "strides")
    new_shape = self.tuple(new_shape, "shape")
    return ArrayView(data_ptr, new_shape, new_strides,
                            elt_offset, size,
                            type = new_array_t)

src/p/a/parakeet-HEAD/parakeet/transforms/lower_indexing.py   parakeet(Download)
from .. ndtypes import SliceT, make_array_type, ArrayT 
from .. ndtypes import NoneT, ScalarT, Int64, PtrT, IntT
from .. syntax import Const, Index, Tuple, Var, ArrayView, Assign, Slice, Struct
from ..syntax.helpers import zero_i64, one_i64
 
    new_strides = self.tuple(new_strides, "strides")
    new_shape = self.tuple(new_shape, "shape")
    return ArrayView(data_ptr, new_shape, new_strides,
                            elt_offset, size,
                            type = new_array_t)

src/p/a/parakeet-0.23.2/parakeet/analysis/syntax_visitor.py   parakeet(Download)
from .. syntax import (Expr, Assign, ExprStmt, ForLoop, If, Return, While, Comment, ParFor, 
                       TypedFn, UntypedFn,  Closure, ClosureElt, Select,  
                       Attribute, Const, Index, PrimCall, Tuple, Var, 
                       Alloc, Array, Call, Struct, Shape, Strides, Range, Ravel, Transpose,
                       AllocArray, ArrayView, Cast, Slice, TupleProj, TypeValue,  

src/p/a/parakeet-HEAD/parakeet/analysis/syntax_visitor.py   parakeet(Download)
from .. syntax import (Expr, Assign, ExprStmt, ForLoop, If, Return, While, Comment, ParFor, 
                       TypedFn, UntypedFn,  Closure, ClosureElt, Select,  
                       Attribute, Const, Index, PrimCall, Tuple, Var, 
                       Alloc, Array, Call, Struct, Shape, Strides, Range, Ravel, Transpose,
                       AllocArray, ArrayView, Cast, Slice, TupleProj, TypeValue,  

src/p/a/parakeet-0.23.2/parakeet/transforms/simplify.py   parakeet(Download)
from .. ndtypes import ArrayT,  ClosureT, NoneT, ScalarT, TupleT, ImmutableT, NoneType, SliceT, FnT
 
from .. syntax import (AllocArray, Assign, ExprStmt, Expr, 
                       Const, Var, Tuple, TupleProj, Closure, ClosureElt, Cast,
                       Slice, Index, Array, ArrayView, Attribute, Struct, Select, 

src/p/a/parakeet-HEAD/parakeet/transforms/simplify.py   parakeet(Download)
                        SliceT, FnT, FloatT)
 
from .. syntax import (AllocArray, Assign, ExprStmt, Expr, 
                       Const, Var, Tuple, TupleProj, Closure, ClosureElt, Cast,
                       Slice, Index, Array, ArrayView, Attribute, Struct, Select, 

src/p/a/parakeet-0.23.2/parakeet/transforms/transform.py   parakeet(Download)
from .. analysis import verify
from .. builder import Builder  
from .. syntax import (Expr, If, Assign, While, Return, ExprStmt, ForLoop, Comment, ParFor, 
                       Var, Tuple, Index, Attribute, Const, PrimCall, Struct, Alloc, Cast,  
                       TupleProj, Slice, ArrayView, Call, TypedFn,  AllocArray, Len, UntypedFn,  

src/p/a/parakeet-HEAD/parakeet/transforms/transform.py   parakeet(Download)
from .. analysis import verify
from .. builder import Builder  
from .. syntax import (Expr, If, Assign, While, Return, ExprStmt, ForLoop, Comment, ParFor, 
                       Var, Tuple, Index, Attribute, Const, PrimCall, Struct, Alloc, Cast,  
                       TupleProj, Slice, ArrayView, Call, TypedFn,  AllocArray, Len, UntypedFn,  

src/p/a/parakeet-0.23.2/parakeet/analysis/find_local_arrays.py   parakeet(Download)
from .. ndtypes import ArrayT, PtrT 
from .. syntax import (Var, Alloc, ArrayView, Array, Struct, AllocArray, 
                       Map, IndexMap, OuterMap, Scan, IndexScan, 
                       ConstArray, ConstArrayLike
                       )

src/p/a/parakeet-HEAD/parakeet/analysis/find_local_arrays.py   parakeet(Download)
from .. ndtypes import ArrayT, PtrT 
from .. syntax import (Var, Alloc, ArrayView, Array, Struct, AllocArray, 
                       Map, IndexMap, OuterMap, Scan, IndexScan, 
                       ConstArray, ConstArrayLike
                       )

  1 | 2  Next