1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
crate::ix!();
#[USE_OPERATOR_CONTEXT_FUNCTIONS]
pub struct PadEmptySamplesOp<Context> {
storage: OperatorStorage,
context: Context,
}
num_inputs!{PadEmptySamples, (1,INT_MAX)}
num_outputs!{PadEmptySamples, (1,INT_MAX)}
inputs!{PadEmptySamples,
0 => ("lengths", "A blob containing a pointer to the lengths.")
}
outputs!{PadEmptySamples,
0 => ("out_lengths", "Tensor containing lengths with empty sample padded.")
}
impl<Context> PadEmptySamplesOp<Context> {
pub fn new<Args>(args: Args) -> Self {
todo!();
}
}