viz.renderers.AttentionFlowRenderer.renderToBlob
AttentionFlowRenderer.renderToBlob(attention: Tensor, format: ExportFormat = 'png', options: Omit<AttentionFlowOptions, 'target'> = {}): Promise<Blob>Render and export to Blob.
Parameters
attentionTensorformatExportFormatoptionaloptionsOmit<AttentionFlowOptions, 'target'>optional
Returns
Promise<Blob>