↓ 2 callersMethoddists2indicatorsComputes the indicator functions from the distance functions. Args: dists: Array of shape [N, 2, R, R, H', W'] with samples of the two
scenic/projects/boundary_attention/field_of_junctions_jax/field_of_junctions.py:565
↓ 2 callersMethodencode_knowledge(
self,
retr_texts,
retr_images=None,
bsz=None,
train=False,
random_drop_i
scenic/projects/knowledge_visual_language/models/fusion_in_decoder_soft.py:209
↓ 2 callersMethodflatten_time_to_batch(
self, inputs, gt_boxes, gt_classes, gt_text_tokens, gt_track_ids,
image_caption_tokens)
scenic/projects/densevoc/modeling/densevoc_model.py:76
↓ 2 callersMethodfoldFold patches into a single image. Args: patches: Array of shape [N, C, R, R, H', W'] val: Container of shape [N, C, H, W] Return
scenic/projects/boundary_attention/field_of_junctions_jax/field_of_junctions.py:414
↓ 2 callersMethodforward_caption(
self, visual_features_dict, outputs, batch, *, train=False
)
scenic/projects/pixel_llm/modeling/pixel_llm.py:614
↓ 2 callersMethodforward_object_caption(
self, detections, metrics, outputs, features,
gt_classes, gt_boxes, gt_text_tokens, train=False)
scenic/projects/densevoc/modeling/grit.py:167
↓ 2 callersMethodfuse_topk_knowledge(
self,
base_query,
base_vals,
base_masks,
retr_keys,
retr_vals,
ret
scenic/projects/knowledge_visual_language/models/fusion_in_decoder_soft.py:315