crf_decode_backward: CRF decode backward

Description Usage Arguments Value

View source: R/text_ops.R

Description

Computes backward decoding in a linear-chain CRF.

Usage

1

Arguments

inputs

A [batch_size, num_tags] matrix of backpointer of next step (in time order).

state

A [batch_size, 1] matrix of tag index of next step.

Value

new_tags: A [batch_size, num_tags] tensor containing the new tag indices.


tfaddons documentation built on July 2, 2020, 2:12 a.m.