Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for read1 (0.05 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/resource_op_lifting.mlir

                  %read0 = "tf.ReadVariableOp"(%barg1) : (!tf_ref) -> tensor<f32>
                  %add0 = "tf.AddV2"(%read0, %read0) : (tensor<f32>, tensor<f32>) -> tensor<f32>
                  "tf.AssignVariableOp"(%barg1, %add0) : (!tf_ref, tensor<f32>) -> ()
                  %read1 = "tf.ReadVariableOp"(%barg1) : (!tf_ref) -> tensor<f32>
                  %add1 = "tf.AddV2"(%read1, %read1) : (tensor<f32>, tensor<f32>) -> 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)
  2. tensorflow/compiler/mlir/tensorflow/tests/tensor_array_ops_decomposition.mlir

      // CHECK: %[[READ:.*]] = "tf.Reshape"(%[[READ_SLICE]],
      // CHECK-SAME: -> tensor<3xf32>
      %read = "tf.TensorArrayReadV3"(%ta#0, %index, %write) : (tensor<!tf_type.resource>, tensor<i32>, tensor<f32>) -> tensor<3xf32>
      // CHECK-NOT: TensorArrayCloseV3
      "tf.TensorArrayCloseV3"(%ta#0) : (tensor<!tf_type.resource>) -> ()
      // CHECK: return %[[READ]] : tensor<3xf32>
      func.return %read: tensor<3xf32>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 49K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    func @cluster(%arg0: tensor<!tf_type.resource<tensor<i32>>>, %arg1: tensor<!tf_type.resource<tensor<i32>>>) {
      %read0 = "tf.ReadVariableOp"(%arg0) : (tensor<!tf_type.resource<tensor<i32>>>) -> tensor<i32>
      %read1 = "tf.ReadVariableOp"(%arg1) : (tensor<!tf_type.resource<tensor<i32>>>) -> tensor<i32>
      %partitioned_input = "tf.TPUPartitionedInput"(%read0, %read1) {N = 2 : i64, _XlaSharding = "", partition_dim = -1 : i64} : (tensor<i32>, tensor<i32>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    	// Before accessing the cacher's cache, wait for the ready to be ok.
    	// This is necessary to prevent users from accessing structures that are
    	// uninitialized or are being repopulated right now.
    	// ready needs to be set to false when the cacher is paused or stopped.
    	// ready needs to be set to true when the cacher is ready to use after
    	// initialization.
    	ready *ready
    
    	// Underlying storage.Interface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/apps/v1beta2/types.go

    	// the previous pod is ready or terminated. At most one pod will be changed
    	// at any time.
    	OrderedReadyPodManagement PodManagementPolicyType = "OrderedReady"
    	// ParallelPodManagement will create and delete pods as soon as the stateful set
    	// replica count is changed, and will not wait for pods to be ready or complete
    	// termination.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:24 UTC 2023
    - 52.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

        if (info.is_read) {
          Operation* read = builder.create<TF::ReadVariableOp>(
              op_->getLoc(), info.data_type, resource);
          read->setAttrs(info.read_attrs ? info.read_attrs : empty_attrs);
          read->removeAttr(kDeviceAttr);
          info.hoisted_read = read->getResult(0);
        }
      }
    }
    
    // Replaces all resource reads with the hoisted read.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  7. pkg/kubelet/nodestatus/setters_test.go

    		},
    		{
    			desc: "new, ready: soft requirement warning",
    			node: withCapacity.DeepCopy(),
    			cmStatus: cm.Status{
    				SoftRequirements: fmt.Errorf("foo"),
    			},
    			expectConditions: []v1.NodeCondition{*makeReadyCondition(true, "kubelet is posting ready status. WARNING: foo", now, now)},
    		},
    		{
    			desc:             "new, not ready: storage errors",
    			node:             withCapacity.DeepCopy(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

        @Override
        protected Long peekKey () throws IOException {
            do {
                if ( ( readn(this.in, this.sbuf, 0, 4) ) < 4 ) {
                    return null;
                }
            }
            while ( this.sbuf[ 0 ] == (byte) 0x85 ); /* Dodge NetBIOS keep-alive */
            /* read smb header */
            if ( ( readn(this.in, this.sbuf, 4, SmbConstants.SMB1_HEADER_LENGTH) ) < SmbConstants.SMB1_HEADER_LENGTH ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  9. src/runtime/pprof/pprof_test.go

    			c := make(chan int)
    			var ready, done sync.WaitGroup
    			defer func() {
    				close(c)
    				done.Wait()
    			}()
    
    			for i := 0; i < n; i++ {
    				ready.Add(1)
    				done.Add(1)
    				go func() {
    					ready.Done()
    					<-c
    					done.Done()
    				}()
    			}
    			// Let goroutines block on channel
    			ready.Wait()
    			for i := 0; i < 5; i++ {
    				runtime.Gosched()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/rewrite.go

    			}
    			return r.Sym
    		}
    	}
    	base.Fatalf("fixedSym data not known for %s:%d", sym, off)
    	return nil
    }
    
    // read8 reads one byte from the read-only global sym at offset off.
    func read8(sym interface{}, off int64) uint8 {
    	lsym := sym.(*obj.LSym)
    	if off >= int64(len(lsym.P)) || off < 0 {
    		// Invalid index into the global sym.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
Back to top