Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for Yield (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        "tf.IfRegion"(%0) ( {
          %2 = "tf.A"() : () -> (tensor<f32>)
          "tf.Yield"() : () -> ()
          }, {
          "tf.Yield"() : () -> ()
         }) { is_stateless = true } : (tensor<i1>) -> ()
        "tf.IfRegion"(%0) ( {
          %2 = "tf.B"() : () -> (tensor<f32>)
          "tf.Yield"() : () -> ()
          }, {
          "tf.Yield"() : () -> ()
          }) { is_stateless = true } : (tensor<i1>) -> ()
        ```
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

          outlier = np.random.uniform(low=0, high=10, size=(1, 3, 4, 3)).astype(
              'f4'
          )
          outlier[0][0][0][0:2] = [-1000, 1000]
          yield {'input_tensor': ops.convert_to_tensor(outlier)}
          for _ in range(10):
            yield {
                'input_tensor': ops.convert_to_tensor(
                    np.random.uniform(low=0, high=10, size=(1, 3, 4, 3)).astype(
                        'f4'
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/ops.mlir

        %1 = func.call @WhileOp_cond(%arg2, %arg3) : (tensor<*xi32>, tensor<*xf32>) -> tensor<i1>
        "tfl.yield"(%1) : (tensor<i1>) -> ()
      },  {
      ^bb0(%arg2: tensor<*xi32>, %arg3: tensor<*xf32>):
        %1:2 = func.call @WhileOp_body(%arg2, %arg3) : (tensor<*xi32>, tensor<*xf32>) -> (tensor<*xi32>, tensor<*xf32>)
        "tfl.yield"(%1#0, %1#1) : (tensor<*xi32>, tensor<*xf32>) -> ()
      }) : (tensor<i32>, tensor<1xf32>) -> (tensor<i32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

          %x_true = ...
          %y_true = ...
          tfl.yield %x_true, %y_true : tensor<f32>, tensor<f32>
        } else {
          %x_false = ...
          %y_false = ...
          tfl.yield %x_false, %y_false : tensor<f32>, tensor<f32>
        }
        ```
    
        `tfl.if` regions are always terminated with "tfl.yield". If "tfl.if"
        defines no values, the "tfl.yield" can be left out, and will be inserted
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

            for (auto branch : while_region.getRegions())
              add_to_worklist(branch->getArgument(use.getOperandNumber()));
            continue;
          }
          if (auto yield = llvm::dyn_cast<YieldOp>(use.getOwner())) {
            Operation* parent = yield->getParentOp();
            add_to_worklist(parent->getResult(use.getOperandNumber()));
            continue;
          }
          // TODO(jpienaar): This can be generalized.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // Since holder.value is 2, applying 4 should yield 6.
        assertEquals(6, adder.apply(4).intValue());
    
        ListenableFuture<Integer> immediateFuture = immediateFuture(4);
        Future<Integer> transformedFuture = transform(immediateFuture, adder, directExecutor());
    
        // The composed future also yields 6.
        assertEquals(6, getDone(transformedFuture).intValue());
    
        // Repeated calls yield the same value even though the function's behavior
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        // Since holder.value is 2, applying 4 should yield 6.
        assertEquals(6, adder.apply(4).intValue());
    
        ListenableFuture<Integer> immediateFuture = immediateFuture(4);
        Future<Integer> transformedFuture = transform(immediateFuture, adder, directExecutor());
    
        // The composed future also yields 6.
        assertEquals(6, getDone(transformedFuture).intValue());
    
        // Repeated calls yield the same value even though the function's behavior
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  8. src/runtime/proc.go

    //
    //go:nosplit
    func Gosched() {
    	checkTimeouts()
    	mcall(gosched_m)
    }
    
    // goschedguarded yields the processor like gosched, but also checks
    // for forbidden states and opts out of the yield in those cases.
    //
    //go:nosplit
    func goschedguarded() {
    	mcall(goschedguarded_m)
    }
    
    // goschedIfBusy yields the processor like gosched, but only does so if
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  9. src/net/http/server.go

    	err = c.Conn.Close()
    	log.Printf("%s.Close() = %v", c.name, err)
    	return
    }
    
    // checkConnErrorWriter writes to c.rwc and records any write errors to c.werr.
    // It only contains one field (and a pointer field at that), so it
    // fits in an interface value without an extra allocation.
    type checkConnErrorWriter struct {
    	c *conn
    }
    
    func (w checkConnErrorWriter) Write(p []byte) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  10. cmd/storage-datatypes_gen.go

    func (z *BaseOptions) DecodeMsg(dc *msgp.Reader) (err error) {
    	var field []byte
    	_ = field
    	var zb0001 uint32
    	zb0001, err = dc.ReadMapHeader()
    	if err != nil {
    		err = msgp.WrapError(err)
    		return
    	}
    	for zb0001 > 0 {
    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		default:
    			err = dc.Skip()
    			if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 130.6K bytes
    - Viewed (0)
Back to top