Resize
From Dontopedia, the open, paraconsistent wiki. (Last updated 2026-06-09.)
Resize has 3 facts recorded in Dontopedia across 2 references.
Maturity scale
raw canonical shape-checked rule-derived certifiedInbound mentions (2)
Other subjects in dontopedia point AT this entity as a value. These are inverse relationships — e.g. "X motherOf this subject" — and answer questions the forward facts can't. Grouped by predicate.
actionWhenConditionTrueAction When Condition True(1)
- Sparse Add Vector
ex:sparse-add-vector
triggersActionTriggers Action(1)
- Num Vectors Equals Capacity
ex:num_vectors_equals_capacity
Other facts (3)
The long tail: predicates that appear too rarely to warrant their own section. Filter or scroll to find a specific one. Each row links to its source.
| Predicate | Value | Ref |
|---|---|---|
| Is Triggered by | Num Vectors Equals Capacity | [1] |
| Ensures | Sufficient Capacity | [1] |
| Rdf:type | Operation | [2] |
Timeline
Timeline axis is valid_time — when each source says the fact was true in the world, not when Dontopedia learned about it. Retracted rows are kept for provenance; coloured stripes indicate the context kind.
References (2)
ctx:claims/beam/c9fb5d03-21a9-4fec-954f-8c2ceb15ff5d- full textbeam-chunktext/plain1 KB
doc:beam/c9fb5d03-21a9-4fec-954f-8c2ceb15ff5dShow excerpt
def add_vector(self, vector): if self.num_vectors == self.capacity: self._resize() self.vectors[self.num_vectors] = vector self.num_vectors += 1 def get_vectors(self): return self.vectors…
ctx:claims/beam/567b6da2-812f-4974-8fda-2036a11691e1- full textbeam-chunktext/plain1 KB
doc:beam/567b6da2-812f-4974-8fda-2036a11691e1Show excerpt
# Test the class resizer = ContextWindowResizer(max_window_size=512) input_ids = torch.tensor([[1, 2, 3, 4, 5], [6, 7, 8, 9, 10]]) attention_mask = torch.tensor([[1, 1, 1, 0, 0], [1, 1, 1, 1, 0]]) resized_window = resizer(input_ids, attenti…
See also
Keep researching
Missing something or suspicious of what's here? Kick off a research session — a Claude agent will investigate, cite its sources, and file new facts into a dedicated context you can review before accepting into the shared view.