public static Offset <BackwardResult> CreateBackwardResult(FlatBufferBuilder builder, Offset <Tensor> grad_inputOffset = default(Offset <Tensor>)) { builder.StartObject(1); BackwardResult.AddGradInput(builder, grad_inputOffset); return(BackwardResult.EndBackwardResult(builder)); }
public static BackwardResult GetRootAsBackwardResult(ByteBuffer _bb, BackwardResult obj) { return(obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }