Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 212 for cond_a (0.12 sec)

  1. tensorflow/c/c_api.cc

      TF_Output* parent_inputs = params->cond_graph->parent_inputs;
      int num_loop_vars = params->ninputs;
    
      mutex_lock l(parent->mu);
    
      // 'cond_fn' copies the cond graph into the parent graph.
      tensorflow::ops::CondGraphBuilderFn cond_fn =
          [params, parent](const tensorflow::Scope& scope,
                           const std::vector<tensorflow::Output>& inputs,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/arm64/asm7.go

    	case 18: /* csel cond,Rn,Rm,Rd; cinc/cinv/cneg cond,Rn,Rd; cset cond,Rd */
    		o1 = c.oprrr(p, p.As)
    
    		cond := SpecialOperand(p.From.Offset)
    		if cond < SPOP_EQ || cond > SPOP_NV || (cond == SPOP_AL || cond == SPOP_NV) && p.From3Type() == obj.TYPE_NONE {
    			c.ctxt.Diag("invalid condition: %v", p)
    		} else {
    			cond -= SPOP_EQ
    		}
    
    		r := int(p.Reg)
    		var rf int = r
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ir/fmt.go

    	case ODEFER:
    		n := n.(*GoDeferStmt)
    		fmt.Fprintf(s, "defer %v", n.Call)
    
    	case OIF:
    		n := n.(*IfStmt)
    		if simpleinit {
    			fmt.Fprintf(s, "if %v; %v { %v }", n.Init()[0], n.Cond, n.Body)
    		} else {
    			fmt.Fprintf(s, "if %v { %v }", n.Cond, n.Body)
    		}
    		if len(n.Else) != 0 {
    			fmt.Fprintf(s, " else { %v }", n.Else)
    		}
    
    	case OFOR:
    		n := n.(*ForStmt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 26K bytes
    - Viewed (0)
  4. src/cmd/go/internal/par/work.go

    	f       func(T) // function to run for each item
    	running int     // total number of runners
    
    	mu      sync.Mutex
    	added   map[T]bool // items added to set
    	todo    []T        // items yet to be run
    	wait    sync.Cond  // wait when todo is empty
    	waiting int        // number of runners waiting for todo
    }
    
    func (w *Work[T]) init() {
    	if w.added == nil {
    		w.added = make(map[T]bool)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 15:54:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tensor_array_ops_decomposition.cc

                                    decomposed_partitioned_call_callees) {
      auto body = while_op.body_function();
      auto cond = while_op.cond_function();
      auto grads = AccessedGradients({body, cond}, module);
      auto ta_arg_buffer_type = [&](int64_t index) -> Type {
        auto it = stats->find(while_op.getOperand(index));
        if (it == stats->end()) return nullptr;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 40.2K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/events.md

    Do mesmo modo, você pode definir a lógica (código) que será executada quando a aplicação estiver sendo **encerrada**. Nesse caso, este código será executado **uma vez**, **depois** de ter possivelmente tratado **várias requisições**.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/quantize_variables.cc

     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(QuantizeVariablesPass)
      explicit QuantizeVariablesPass() = default;
    
      void runOnOperation() override;
    
     private:
      // Outlines the regions of the WhileOp's cond and body and insert function
      // calls instead.
      void QuantizeVariable(OpBuilder &builder,
                            const std::vector<VarHandleOp> &var_handle_op);
    };
    
    void QuantizeVariablesPass::QuantizeVariable(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfrt/tests/tf_to_corert/tf_to_corert_pipeline.mlir

        // CHECK-NEXT: tfrt.merge.chains
        // CHECK-NEXT: tfrt.return
        %0 = "tf.Const"() {device = "/device:CPU:0", value = dense<0> : tensor<i32>} : () -> tensor<i32>
        %1 = "tf.While"(%0) { cond = @while_cond_lt9, body = @while_body_add2, is_stateless = false, parallel_iterations = 1} : (tensor<i32>) -> (tensor<i32>)
        func.return %1 : tensor<i32>
      }
      // CHECK: func @"[[while_func_prefix]]/tfrt_body_1"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 00:18:59 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/executor_island_coarsening.mlir

    // CHECK-NEXT:     tf_executor.yield %[[OP_D]] : tensor<*xi1>
    // CHECK:        %[[COND:.*]], %[[COND_control:.*]] = tf_executor.LoopCond %[[ISLAND_2]]
    // CHECK-NEXT:   %[[SWITCH_false:.*]], %[[SWITCH_true:.*]], %[[SWITCH_control:.*]] = tf_executor.Switch %[[MERGE]], %[[COND]]
    // CHECK-NEXT:   %[[EXIT:.*]], %[[EXIT_control:.*]] = tf_executor.Exit %[[SWITCH_false]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 17.8K bytes
    - Viewed (0)
  10. src/cmd/cover/cover.go

    		found, pos := hasFuncLiteral(s.Init)
    		if found {
    			return pos
    		}
    		found, pos = hasFuncLiteral(s.Cond)
    		if found {
    			return pos
    		}
    		return s.Body.Lbrace
    	case *ast.ForStmt:
    		found, pos := hasFuncLiteral(s.Init)
    		if found {
    			return pos
    		}
    		found, pos = hasFuncLiteral(s.Cond)
    		if found {
    			return pos
    		}
    		found, pos = hasFuncLiteral(s.Post)
    		if found {
    			return pos
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
Back to top