Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 604 for rend (0.08 sec)

  1. tensorflow/c/experimental/ops/gen/cpp/renderers/namespace_renderer.cc

        CodeLine("namespace " + ns + " {");
      }
    }
    
    void NamespaceRenderer::Close() {
      for (auto it = context_.cpp_config.namespaces.rbegin();
           it != context_.cpp_config.namespaces.rend(); ++it) {
        CodeLine("}  // namespace " + *it);
      }
    }
    
    }  // namespace cpp
    }  // namespace generator
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 05:51:40 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/update_control_dependencies.cc

      ClearControlInputs(op, num_control_inputs_removed);
      llvm::SmallVector<Operation*, 8> preds_in_reverse_program_order(
          control_deps.begin(), control_deps.end());
      std::sort(preds_in_reverse_program_order.begin(),
                preds_in_reverse_program_order.end(), IsAfterInBlock());
      SetControlInputs(op, preds_in_reverse_program_order,
                       num_control_inputs_added);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 30 07:53:51 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. src/runtime/rand.go

    	unlock(&globalRand.lock)
    }
    
    // rand32 is uint32(rand()), called from compiler-generated code.
    //
    //go:nosplit
    func rand32() uint32 {
    	return uint32(rand())
    }
    
    // rand returns a random uint64 from the per-m chacha8 state.
    // Do not change signature: used via linkname from other packages.
    //
    //go:nosplit
    //go:linkname rand
    func rand() uint64 {
    	// Note: We avoid acquirem here so that in the fast path
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 14:32:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. src/cmd/trace/jsontrace.go

    		}
    		if a.Start != b.Start {
    			return cmp.Compare(aStart, bStart)
    		}
    		// Break ties with the end time.
    		aEnd, bEnd := parsed.endTime(), parsed.endTime()
    		if a.End != nil {
    			aEnd = a.End.Time()
    		}
    		if b.End != nil {
    			bEnd = b.End.Time()
    		}
    		return cmp.Compare(aEnd, bEnd)
    	})
    }
    
    func defaultGenOpts() *genOpts {
    	return &genOpts{
    		startTime: time.Duration(0),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. src/crypto/rand/rand.go

    func batched(f func([]byte) error, readMax int) func([]byte) error {
    	return func(out []byte) error {
    		for len(out) > 0 {
    			read := len(out)
    			if read > readMax {
    				read = readMax
    			}
    			if err := f(out[:read]); err != nil {
    				return err
    			}
    			out = out[read:]
    		}
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 20:02:21 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. src/crypto/internal/boring/rand.go

    //go:build boringcrypto && linux && (amd64 || arm64) && !android && !msan
    
    package boring
    
    // #include "goboringcrypto.h"
    import "C"
    import "unsafe"
    
    type randReader int
    
    func (randReader) Read(b []byte) (int, error) {
    	// Note: RAND_bytes should never fail; the return value exists only for historical reasons.
    	// We check it even so.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 17:51:31 UTC 2023
    - 696 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/end-to-end-tpu-reshard-variables.mlir

    Jian Cai <******@****.***> 1710363027 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. src/go/ast/commentmap.go

    	nodes = append(nodes, nil) // append sentinel
    
    	// set up iteration variables
    	var (
    		p     Node           // previous node
    		pend  token.Position // end of p
    		pg    Node           // previous node group (enclosing nodes of "importance")
    		pgend token.Position // end of pg
    		stack nodeStack      // stack of node groups
    	)
    
    	for _, q := range nodes {
    		var qpos token.Position
    		if q != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/tpu-resource-read-for-write.mlir

    // RUN: tf-opt -tf-tpu-resource-read-for-write %s | FileCheck %s --dump-input=always
    
    // CHECK-LABEL: func @write_only_resource
    // CHECK-SAME: ([[ARG0:%.*]]: tensor<i32>, [[ARG1:%.*]]: tensor<f32>, [[ARG2:%.*]]: tensor<*x!tf_type.resource<tensor<i32>>>)
    func.func @write_only_resource(%arg0: tensor<i32>, %arg1: tensor<f32>, %arg2: tensor<*x!tf_type.resource<tensor<i32>>>) {
      // CHECK-NEXT: [[READ:%.*]] = "tf.ReadVariableOp"([[ARG2]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 16:54:40 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. cmd/erasure-common.go

    package cmd
    
    import (
    	"context"
    	"fmt"
    	"io"
    	"math/rand"
    	"sync"
    	"time"
    
    	"github.com/minio/pkg/v3/sync/errgroup"
    )
    
    func (er erasureObjects) getOnlineDisks() (newDisks []StorageAPI) {
    	disks := er.getDisks()
    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	r := rand.New(rand.NewSource(time.Now().UnixNano()))
    	for _, i := range r.Perm(len(disks)) {
    		i := i
    		wg.Add(1)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
Back to top