Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,281 for terminator (0.15 sec)

  1. tensorflow/compiler/mlir/tfr/ir/tfr_ops.td

      let hasVerifier = 1;
      let hasCustomAssemblyFormat = 1;
    }
    
    def TFR_TFRReturnOp : TFR_Op<"return", [HasParent<"TFRFuncOp">, Pure,
                                            ReturnLike, Terminator]> {
      let description = [{
        A terminator operation for regions that appear in the body of  `tfr.func`
        functions. The operands to the `tfr.return` are the result values returned
        by an invocation of the `tfr.func`.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 10:54:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

                                    executor_graph.getBody().end());
    
        // Add terminator of tf_executor::graph
        rewriter.setInsertionPointToEnd(&executor_graph.getBody().front());
        rewriter.create<tf_executor::FetchOp>(loc);
    
        // Add terminator of func
        rewriter.setInsertionPointToEnd(&func.getBody().front());
        rewriter.create<func::ReturnOp>(loc);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  3. src/cmd/go/internal/vet/vetflag.go

    		if errors.Is(err, flag.ErrHelp) {
    			exitWithUsage()
    		}
    
    		if errors.Is(err, cmdflag.ErrFlagTerminator) {
    			// All remaining args must be package names, but the flag terminator is
    			// not included.
    			packageNames = remainingArgs
    			break
    		}
    
    		if nf := (cmdflag.NonFlagError{}); errors.As(err, &nf) {
    			// Everything from here on out — including the argument we just consumed —
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 14:42:39 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/cluster_outlining.cc

      auto& op_body = op.GetBody().getOperations();
      outlined_func_block->getOperations().splice(
          outlined_func_block->end(), op_body, op_body.begin(), op_body.end());
    
      // Replace `tf_device.return` terminator with `std.return` in function
      // body.
      auto return_op =
          cast<tf_device::ReturnOp>(outlined_func_block->getTerminator());
      builder->setInsertionPoint(return_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/syscall/syscall_windows_test.go

    			}
    			t.Fatalf("UTF16FromString(%q): %v", tst, err)
    		}
    		t.Logf("UTF16FromString(%q) = %04x", tst, res)
    
    		if len(res) < 1 || res[len(res)-1] != 0 {
    			t.Fatalf("missing NUL terminator")
    		}
    		if len(res) > len(tst)+1 {
    			t.Fatalf("len(%04x) > len(%q)+1", res, tst)
    		}
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 16:33:09 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  6. src/cmd/link/internal/dwtest/dwtest.go

    	ex.byname = make(map[string][]int)
    	var nesting []int
    	for entry, err := rdr.Next(); entry != nil; entry, err = rdr.Next() {
    		if err != nil {
    			return err
    		}
    		if entry.Tag == 0 {
    			// terminator
    			if len(nesting) == 0 {
    				return errors.New("nesting stack underflow")
    			}
    			nesting = nesting[:len(nesting)-1]
    			continue
    		}
    		idx := len(ex.dies)
    		ex.dies = append(ex.dies, entry)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 15:22:18 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc

        return success();
      }
    
     private:
      // Check if op's user or op's user after an identity op is connected to a
      // terminator.
      bool checkIfAnyUserIsConnectedToTermiantor(BlockArgument op) const {
        for (const auto& user : op.getUsers()) {
          if (user->template hasTrait<OpTrait::IsTerminator>()) return true;
          if (auto next_user = dyn_cast_or_null<TF::IdentityOp>(user)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. cmd/streaming-v4-unsigned.go

    			if cr.debug {
    				fmt.Println("trailer returned:", err)
    			}
    			if err != nil {
    				cr.err = err
    				return 0, err
    			}
    		}
    		cr.err = io.EOF
    		return n, cr.err
    	}
    	// read final terminator.
    	err = mustRead('\r', '\n')
    	if err != nil && err != io.EOF {
    		cr.err = err
    		return n, cr.err
    	}
    
    	cr.offset = copy(buf, cr.buffer)
    	n += cr.offset
    	return n, err
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 06 02:53:12 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_invalid.mlir

    func.func @graph_with_invalid_terminator(%arg0: tensor<*xf32>) -> tensor<*xf32> {
      tf_executor.graph {
    // expected-error@-1 {{custom op 'tf_executor.graph' expects a tf_executor.fetch terminator}}
        func.return
      }
      func.return %arg0 : tensor<*xf32>
    }
    
    // -----
    
    // Check that a tf_executor.fetch parent is a graph.
    func.func @parent_is_graph() {
      "tf.some_op"() ({
        tf_executor.fetch
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 01:12:10 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h

          if (isa<QuantizeOpT, DequantizeOpT>(candidate_op)) {
            return failure();
          }
    
          // If the op is terminator, we shouldn't rewrite.
          if (candidate_op->hasTrait<OpTrait::IsTerminator>()) {
            return failure();
          }
    
          if (!IsOpQuantizableStableHlo(candidate_op)) {
            return failure();
          }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
Back to top