Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for true_fn (0.06 sec)

  1. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

        Output input = ops::Const(s.WithOpName("const1"), 1, {2});
        NameAttrList true_fn;
        true_fn.set_name("true_fn");
        NameAttrList false_fn;
        false_fn.set_name("false_fn");
        auto if_op = ops::If(s.WithOpName("if"), cond,
                             std::initializer_list<Input>{cond, input}, {DT_INT32},
                             true_fn, false_fn);
        ops::_Retval retval(s.WithOpName("retval"), if_op.output[0], 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
Back to top