Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for true_fn (0.1 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)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_ops.td

      let description = [{
        Execute $a_true_fn with $args if $cond is true; otherwise, %b_false_fn is
        executed.
      }];
    
      let arguments = (ins
        I1:$cond,
        Variadic<AnyType>:$args,
        SymbolRefAttr:$a_true_fn,
        SymbolRefAttr:$b_false_fn
      );
    
      let results = (outs
        Variadic<AnyType>:$results
      );
    
      let assemblyFormat = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 08 22:07:30 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  3. pkg/kubelet/cm/devicemanager/manager_test.go

    		as.Truef(fromAffinity.Equal(testCase.fromAffinityExpected), "expect devices from affinity to be %v but got %v", testCase.fromAffinityExpected, fromAffinity)
    		as.Truef(notFromAffinity.Equal(testCase.notFromAffinityExpected), "expect devices not from affinity to be %v but got %v", testCase.notFromAffinityExpected, notFromAffinity)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 65K bytes
    - Viewed (0)
Back to top