Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Net

Index

Constructors

constructor

  • new Net(): Net

Methods

forward

  • forward(inputName?: string): Mat
  • forward(outBlobNames?: string[]): Mat[]
  • Parameters

    • Optional inputName: string

    Returns Mat

  • Parameters

    • Optional outBlobNames: string[]

    Returns Mat[]

forwardAsync

  • forwardAsync(inputName?: string): Promise<Mat>
  • forwardAsync(outBlobNames?: string[]): Promise<Mat[]>
  • Parameters

    • Optional inputName: string

    Returns Promise<Mat>

  • Parameters

    • Optional outBlobNames: string[]

    Returns Promise<Mat[]>

setInput

  • setInput(blob: Mat, inputName?: string): void
  • Parameters

    • blob: Mat
    • Optional inputName: string

    Returns void

setInputAsync

  • setInputAsync(blob: Mat, inputName?: string): Promise<void>
  • Parameters

    • blob: Mat
    • Optional inputName: string

    Returns Promise<void>