Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AlexanderLutsenko/nobuco
/ functions
Functions
654 in github.com/AlexanderLutsenko/nobuco
⨍
Functions
654
◇
Types & classes
95
↳
Endpoints
3
↓ 52 callers
Method
convert
(self, *args, _pytorch_node: PytorchNode = None, **kwargs)
nobuco/converters/node_converter.py:18
↓ 31 callers
Function
get_channel_order
(tensor)
nobuco/converters/channel_ordering.py:16
↓ 24 callers
Function
collect_recursively
(obj, classes)
nobuco/util.py:60
↓ 19 callers
Method
get
(self, tensor)
nobuco/trace/tensor_storage.py:10
↓ 19 callers
Function
get_torch_tensor_identifier
(tensor)
nobuco/util.py:19
↓ 18 callers
Method
stylize
(self, text: str, style: str)
nobuco/vis/console_stylizer.py:13
↓ 16 callers
Function
dim_pytorch2keras
(dim, num_dims)
nobuco/converters/tensor.py:16
↓ 16 callers
Function
dtype_pytorch2keras
(dtype)
nobuco/converters/type_cast.py:27
↓ 15 callers
Method
update
(self, n=1)
nobuco/vis/progress.py:23
↓ 14 callers
Function
set_channel_order
(tensor, channel_order: ChannelOrder)
nobuco/converters/channel_ordering.py:11
↓ 12 callers
Function
reduce_func
(inner_func: Callable, n_dims: int)
nobuco/node_converters/reduce.py:21
↓ 11 callers
Function
perm_keras2pytorch
(n_dims)
nobuco/converters/tensor.py:48
↓ 11 callers
Function
replace_recursively_func
(obj, collect_func: Callable[[object], bool], replace_func: Callable[[object], object])
nobuco/util.py:66
↓ 10 callers
Method
op_undecorate
(callable: Callable)
nobuco/trace/trace.py:228
↓ 9 callers
Function
_permute
(perm)
nobuco/converters/tensor.py:76
↓ 8 callers
Function
_ensure_iterable
(iterable)
nobuco/converters/tensor.py:92
↓ 8 callers
Method
get_type
(self)
nobuco/entity/pytorch.py:101
↓ 8 callers
Function
type_func
(self, dtype=None, non_blocking=False, **kwargs)
nobuco/node_converters/tensor_cast.py:25
↓ 7 callers
Method
from_pretrained
Load pretrained weights from HuggingFace into model. Args: pretrained_model_name: One of * 'state-spaces/mamba_mi
examples/mamba_minimal/model.py:98
↓ 7 callers
Method
get_op
(self)
nobuco/entity/pytorch.py:108
↓ 7 callers
Method
is_decorated
(callable)
nobuco/trace/trace.py:224
↓ 6 callers
Function
_dim_make_positive
(dim, n_dims, add_one=False)
nobuco/converters/tensor.py:4
↓ 6 callers
Method
fill
(self, hierarchy)
nobuco/entity/pytorch.py:33
↓ 6 callers
Function
permute_pytorch2keras
(xs)
nobuco/converters/tensor.py:62
↓ 6 callers
Function
wrap_torch_tensors_recursively
(obj, annotate=True)
nobuco/trace/trace.py:52
↓ 5 callers
Function
_permute_inner
(perm_original, allow_lazy=True)
nobuco/node_converters/tensor_manipulation.py:19
↓ 5 callers
Function
gather
(input, y, x, b, h, w, c, padding_mode)
nobuco/node_converters/grid_sampling.py:13
↓ 5 callers
Function
perm_pytorch2keras
(n_dims)
nobuco/converters/tensor.py:54
↓ 5 callers
Method
scaled_dot_product_attention
(self, q, k, v)
examples/multihead-attention.py:80
↓ 5 callers
Method
styles_join
(self, style1: Dict, style2: Dict)
nobuco/vis/html_stylizer.py:72
↓ 5 callers
Method
validation_status_to_style
(self, status: ValidationStatus, converted_manually)
nobuco/vis/console_stylizer.py:16
↓ 4 callers
Function
_flatten
(iterable)
nobuco/converters/tensor.py:85
↓ 4 callers
Method
add
(self, tensor: torch.Tensor)
nobuco/trace/tensor_storage.py:18
↓ 4 callers
Method
build
(node_list: Collection[PytorchNode])
nobuco/trace/trace.py:438
↓ 4 callers
Function
clone_torch_tensors_recursively_with_cache
(obj, storage: TensorStorage)
nobuco/trace/tensor_storage.py:25
↓ 4 callers
Function
create_layer
(i, reverse)
nobuco/node_converters/recurrent.py:45
↓ 4 callers
Method
op_tracing_decorator
(orig_method, op_cls, module_suffix=None, is_whitelist_op=False, need_trace_deeper=True)
nobuco/trace/trace.py:286
↓ 4 callers
Function
perm_compose
(perm_next, perm_prev)
nobuco/converters/tensor.py:40
↓ 4 callers
Function
reorder
(param)
nobuco/node_converters/recurrent.py:47
↓ 4 callers
Function
set_torch_tensor_id
(tensor, id)
nobuco/util.py:28
↓ 4 callers
Function
tf_annotate_recursively
(obj, channel_order)
nobuco/layers/channel_order.py:101
↓ 3 callers
Method
__init__
Full Mamba model.
examples/mamba_minimal/model.py:61
↓ 3 callers
Method
__str__
(self)
nobuco/layers/stub.py:9
↓ 3 callers
Function
broadcast
(tensors)
nobuco/node_converters/tensor_broadcast.py:12
↓ 3 callers
Function
collect_recursively_func
(obj, predicate: Callable[[object], bool])
nobuco/util.py:32
↓ 3 callers
Function
get_link_to_obj
Print a link in PyCharm to a module, function, class, method or property.
nobuco/locate/link.py:17
↓ 3 callers
Method
get_name
(self, tensor)
nobuco/entity/pytorch.py:42
↓ 3 callers
Function
pt2tf
(t, dtype=None)
examples/stablelm_zephyr/run_tf.py:18
↓ 3 callers
Method
split_heads
(self, x, batch_size)
examples/multihead-attention.py:55
↓ 3 callers
Function
summarize_tensors
(obj)
nobuco/converters/validation.py:30
↓ 3 callers
Function
t_pytorch2keras
(tensor_pt, channel_order=ChannelOrder.PYTORCH)
nobuco/converters/channel_ordering.py:27
↓ 3 callers
Function
unwrap_torch_tensors_recursively
(obj, annotate=True)
nobuco/trace/trace.py:74
↓ 2 callers
Method
__init__
(self, shape, alpha)
examples/stateful3.py:18
↓ 2 callers
Method
_traverse_graph
(self, start_names, op_descr_list, reverse_graph)
nobuco/layers/container.py:26
↓ 2 callers
Method
all_tensors_equal
(tensors1, tensors2)
nobuco/trace/trace.py:235
↓ 2 callers
Method
append_node
(node: PytorchNode)
nobuco/trace/trace.py:220
↓ 2 callers
Method
branch_false
(self, x)
examples/control_if2.py:32
↓ 2 callers
Method
branch_true
(self, x)
examples/control_if2.py:25
↓ 2 callers
Function
channel_interleave2d
(x, block_size: int, reverse: bool)
nobuco/node_converters/pooling.py:80
↓ 2 callers
Function
channel_interleave2d
(x: torch.Tensor, block_size: int, reverse: bool)
nobuco/addons/torch/util.py:4
↓ 2 callers
Method
close
(self)
nobuco/vis/progress.py:29
↓ 2 callers
Method
cond
(self, inputs)
examples/control_if2.py:39
↓ 2 callers
Function
convert_initial_states
(hx)
nobuco/node_converters/recurrent.py:82
↓ 2 callers
Function
count_nonnone
(slices)
nobuco/node_converters/slice.py:23
↓ 2 callers
Method
create
(cls, weight, trainable)
nobuco/layers/weight.py:24
↓ 2 callers
Method
decorate_all
()
nobuco/trace/trace.py:422
↓ 2 callers
Function
dims_pytorch2keras
(dims, num_dims)
nobuco/converters/tensor.py:58
↓ 2 callers
Function
divide
(x, y, rounding_mode)
nobuco/node_converters/math.py:75
↓ 2 callers
Function
find_call_summary
(call_stack: List[traceback.FrameSummary])
nobuco/trace/trace.py:99
↓ 2 callers
Method
forward_stateless
(self, x, x_ema)
examples/stateful2.py:25
↓ 2 callers
Function
func
(x)
nobuco/converters/tensor.py:80
↓ 2 callers
Method
get_op_count
(self)
nobuco/entity/pytorch.py:120
↓ 2 callers
Function
hard_sigmoid_pytorch_compatible
(x)
nobuco/node_converters/activation.py:18
↓ 2 callers
Function
has_converter
(node: PytorchNode, converter_dict: Dict[object, Pytorch2KerasNodeConverter])
nobuco/convert.py:44
↓ 2 callers
Function
indices_make_non_negative
(indices, d)
nobuco/node_converters/slice.py:241
↓ 2 callers
Function
inner_func
(input, dim, keepdim)
nobuco/node_converters/reduce.py:48
↓ 2 callers
Method
is_connected
(self)
nobuco/commons.py:49
↓ 2 callers
Function
is_identity_perm
(perm)
nobuco/converters/tensor.py:70
↓ 2 callers
Method
is_tracing_enabled
()
nobuco/trace/trace.py:216
↓ 2 callers
Function
make_template_recursively
(obj)
nobuco/converters/channel_ordering.py:62
↓ 2 callers
Method
module_forward_tracing_decorator
(forward_func)
nobuco/trace/trace.py:244
↓ 2 callers
Function
perm_identity
(n_dims)
nobuco/converters/tensor.py:29
↓ 2 callers
Function
prelu_prepare_params
(weight_np, input_dim, input_channels, input_channel_order)
nobuco/node_converters/activation.py:85
↓ 2 callers
Function
prepare_inputs_pt
(prompt, tokenizer, past_kv_flattened, device='cpu')
examples/stablelm_zephyr/util.py:4
↓ 2 callers
Function
process_coord
(grid, w_h)
nobuco/node_converters/grid_sampling.py:43
↓ 2 callers
Function
pytorch2keras_recursively
(obj, channel_order=ChannelOrder.PYTORCH)
nobuco/converters/channel_ordering.py:35
↓ 2 callers
Function
replace_func
(obj)
nobuco/util.py:76
↓ 2 callers
Function
replace_func
(obj)
nobuco/trace/trace.py:61
↓ 2 callers
Function
slices_adjust
(slices_enumerated, start_i, delta)
nobuco/node_converters/slice.py:273
↓ 2 callers
Function
slices_make_full
(slices, n_dims)
nobuco/node_converters/slice.py:20
↓ 2 callers
Method
stylize
(self, text: str, style: Dict)
nobuco/vis/html_stylizer.py:21
↓ 2 callers
Function
t_keras2pytorch
(tensor_tf, restore_channel_order=False)
nobuco/converters/channel_ordering.py:20
↓ 2 callers
Function
template_insert_recursively
(obj, tensors)
nobuco/converters/channel_ordering.py:77
↓ 2 callers
Function
tf_assert_has_attr_recursively
(obj, attr)
nobuco/layers/channel_order.py:113
↓ 2 callers
Function
tf_set_order_recursively
(obj, channel_order: ChannelOrder)
nobuco/layers/channel_order.py:83
↓ 2 callers
Function
to_shape_and_dtype
(assigned_tensor, shape, dtype)
nobuco/node_converters/slice.py:44
↓ 1 callers
Method
__init__
(self, body, *args, **kwargs)
examples/control_for.py:44
↓ 1 callers
Method
__init__
(self, d_model, num_heads)
examples/multihead-attention.py:28
↓ 1 callers
Method
__init__
(self)
examples/stateful1.py:18
↓ 1 callers
Method
__init__
(self)
examples/control_if.py:17
next →
1–100 of 654, ranked by callers