Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for false_fn (0.11 sec)

  1. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

        TF_CHECK_OK(GraphToFunctionDef(*g, "false_fn", false_fn_fdef));
      }
      {
        tensorflow::Scope s = tensorflow::Scope::NewRootScope();
        Output cond = ops::Const(s.WithOpName("const0"), true, {2});
        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");
    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

        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. tensorflow/compiler/mlir/tensorflow/tests/resource_op_lifting.mlir

              { else_branch = @else_fn, then_branch = @then_fn, is_stateless = true}
              : (tensor<i1>, tensor<*x!tf_type.resource<tensor<*xi32>>>, tensor<*x!tf_type.resource<tensor<*xi32>>>) -> tensor<*xi32>
        tf_device.return %3 : tensor<*xi32>
      }) {cluster_attr = "cluster_attr"} : () -> tensor<*xi32>
      func.return %2 : tensor<*xi32>
    }
    
    // CHECK-LABEL: func @else_fn
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 74K bytes
    - Viewed (0)
Back to top