Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 112 for atTerminator (0.2 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/propagate_quantize_type.cc

        for (auto& use : op->getUses()) {
          Operation* user_op = use.getOwner();
          int user_idx = use.getOperandNumber();
          if (!IsOpWithInt8TypeOperand(user_op)) continue;
          // If the next op is terminator, function type needs to be changed so
          // handle this case separately when propagating for function op is
          // added.
          if (std::any_of(user_op->getResult(0).getUsers().begin(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  2. src/encoding/csv/writer.go

    // be checked by calling the [Writer.Error] method.
    type Writer struct {
    	Comma   rune // Field delimiter (set to ',' by NewWriter)
    	UseCRLF bool // True to use \r\n as the line terminator
    	w       *bufio.Writer
    }
    
    // NewWriter returns a new Writer that writes to w.
    func NewWriter(w io.Writer) *Writer {
    	return &Writer{
    		Comma: ',',
    		w:     bufio.NewWriter(w),
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 08 19:04:28 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc

          return failure();
        }
        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;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  10. 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)
Back to top