Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Cond (0.05 sec)

  1. tensorflow/compiler/jit/deadness_analysis_test.cc

        EXPECT_EQ(predicate_map[ControlOutputFor(add0)],
                  "({#true,&,*iv0/cond:0}<fr0> & {#true,&,*iv1/cond:0}<fr0>)");
        EXPECT_EQ(predicate_map[ControlOutputFor(add1)],
                  "({#true,&,*iv1/cond:0}<fr0> & {#true,&,*iv2/cond:0}<fr0>)");
      }
    }
    
    TEST(DeadnessAnalysisTest, ControlEquivalentLoopBodies) {
      Scope root = Scope::NewRootScope().ExitOnError();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/rewritedec64.go

    		v.AddArg2(v0, v3)
    		return true
    	}
    }
    func rewriteValuedec64_OpArg(v *Value) bool {
    	b := v.Block
    	config := b.Func.Config
    	typ := &b.Func.Config.Types
    	// match: (Arg {n} [off])
    	// cond: is64BitInt(v.Type) && !config.BigEndian && v.Type.IsSigned() && !(b.Func.pass.name == "decompose builtin")
    	// result: (Int64Make (Arg <typ.Int32> {n} [off+4]) (Arg <typ.UInt32> {n} [off]))
    	for {
    		off := auxIntToInt32(v.AuxInt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 22:42:34 UTC 2023
    - 65.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/convert_control_to_data_outputs.mlir

        %while_out:4, %control_while = tf_executor.island(%control_A) wraps "tf.While"(%arg0, %arg1, %arg2, %arg2) {body = @simple_independent_chains_while_body, cond = @simple_independent_chains_while_cond, is_stateless = false} : (tensor<!tf_type.resource<tensor<f32>>>, tensor<!tf_type.resource<tensor<f32>>>, tensor<f32>, tensor<f32>) -> (tensor<!tf_type.resource<tensor<f32>>>, tensor<!tf_type.resource<tensor<f32>>>,...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 18:35:00 UTC 2024
    - 68.9K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/arm.s

    //	}
    //	LTYPE1 cond imsr ',' reg
    //	{
    //		outcode($1, $2, &$3, 0, &$5);
    //	}
    	ADD	$1, R2
    	ADD	R1<<R2, R3
    	ADD	R1>>R2, R3
    	ADD	R1@>R2, R3
    	ADD	R1->R2, R3
    	ADD	R1, R2
    
    //
    // MVN
    //
    //	LTYPE2 cond imsr ',' reg
    //	{
    //		outcode($1, $2, &$3, 0, &$5);
    //	}
    	CLZ	R1, R2
    
    //
    // MOVW
    //
    //	LTYPE3 cond gen ',' gen
    //	{
    //		outcode($1, $2, &$3, 0, &$5);
    //	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 69K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/resource_op_lifting.mlir

        // expected-error@+1 {{Result #0 is not tied to arg #0 of the body}}
        %1 = "tf.WhileRegion"(%0) ({
          ^bb0(%carg0:tensor<*x!tf_type.resource<tensor<f32>>>):
            %cond = "tf.SomeOp"() : () -> tensor<i1>
            "tf.Yield"(%cond) : (tensor<i1>) -> ()
          }, {
          ^bb0(%carg0:tensor<*x!tf_type.resource<tensor<f32>>>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 74K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir

      // CHECK: %[[COND:.*]] = "tf._SomeOp"() : () -> tensor<i1>
      %cond = "tf._SomeOp"() : () -> tensor<i1>
      // CHECK: %[[GVAR1:.*]] = "tf.MlirLocalVarOp"() : () -> tensor<!tf_type.resource<tensor<5x3xf32>>>
      // CHECK: %[[GVAR2:.*]] = "tf.MlirLocalVarOp"() : () -> tensor<!tf_type.resource<tensor<5x3xf32>>>
      // CHECK: "tf.If"(%[[COND]], %[[VAR]], %[[GVAR1]], %[[GVAR2]])
      %1 = "tf.If"(%cond, %ta#0) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 49K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

      );
    }
    
    def TF_IfOp : TF_Op<"If", [DeclareOpInterfaceMethods<SymbolUserOpInterface>]> {
      let summary = "output = cond ? then_branch(input) : else_branch(input)";
    
      let description = [{
    output = cond ? then_branch(input) : else_branch(input)
    
    cond: A Tensor. If the tensor is a scalar of non-boolean type, the
        scalar is converted to a boolean according to the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

            ArrayRef<Value>{operand, caller->getResult(updated_index)});
      }
    }
    
    // Lifts loads/stores from while loop's body and cond functions.
    LogicalResult HandleWhileLoop(TF::WhileOp while_op, func::FuncOp body,
                                  func::FuncOp cond) {
      auto return_op = body.front().getTerminator();
      llvm::SmallDenseMap<int64_t, ResourceArgUseInfo> body_use_info;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      mlir::SymbolTable symbol_table(module);
      module.walk([&](mlir::TFL::WhileOp while_op) {
        auto cond = symbol_table.lookup<mlir::func::FuncOp>(
            while_op->getAttr("cond").cast<mlir::FlatSymbolRefAttr>().getValue());
        AddCallOpInWhileOpRegion(while_op.getCond(), cond);
        while_op->removeAttr("cond");
        auto body = symbol_table.lookup<mlir::func::FuncOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

      func::FuncOp cond =
          func::FuncOp::create(loc, "new_while_cond", cond_func_type);
      func::FuncOp body =
          func::FuncOp::create(loc, "new_while_body", body_func_type);
      cond.setPrivate();
      body.setPrivate();
      symbol_table.insert(cond);
      symbol_table.insert(body);
      OpBuilder cond_builder = OpBuilder::atBlockBegin(cond.addEntryBlock());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
Back to top