Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 356 for pack20 (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      // replaced with a %shape. This is a common pattern in models with a dynamic
      // batch size.
    
      // Pack operation should pack at least two values.
      if (getValues().size() < 2) return {};
    
      // Dimensions packed along axis = 0 (pack scalars into vector).
      if (getAxis() != 0) return {};
    
      // First packed value is defined by a strided slice operation.
      auto slice_op =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops_invalid.mlir

    // Check number of replicated inputs / 'n' + number of packed inputs matches the
    // number of block arguments.
    func.func @verifier_replicate_num_block_args(%arg0: tensor<*xi32>) {
      "tf_device.replicate" (%arg0, %arg0, %arg0, %arg0, %arg0) ({
    // expected-error@-1 {{'tf_device.replicate' op expects number of block arguments (2) to be equal to number of replicated inputs (3) / 'n' (3) + number of packed inputs (2)}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Aug 14 15:35:49 UTC 2023
    - 9.8K bytes
    - Viewed (0)
  3. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/ZipPacker.java

    import java.util.zip.ZipInputStream;
    import java.util.zip.ZipOutputStream;
    
    public class ZipPacker implements Packer {
    
        private final byte[] buffer;
    
        public ZipPacker(int bufferSizeInKBytes) {
            this.buffer = new byte[bufferSizeInKBytes];
        }
    
        @Override
        public void pack(List<DataSource> inputs, DataTarget output) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:43:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. src/internal/profile/proto.go

    func encodeUint64(b *buffer, tag int, x uint64) {
    	// append varint to b.data
    	encodeVarint(b, uint64(tag)<<3|0)
    	encodeVarint(b, x)
    }
    
    func encodeUint64s(b *buffer, tag int, x []uint64) {
    	if len(x) > 2 {
    		// Use packed encoding
    		n1 := len(b.data)
    		for _, u := range x {
    			encodeVarint(b, u)
    		}
    		n2 := len(b.data)
    		encodeLength(b, tag, n2-n1)
    		n3 := len(b.data)
    		copy(b.tmp[:], b.data[n2:n3])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 17 16:20:57 UTC 2022
    - 6.8K bytes
    - Viewed (0)
  5. src/net/net_fake.go

    	}
    	return nil
    }
    
    const maxPacketSize = 65535
    
    type packet struct {
    	buf       []byte
    	bufOffset int
    	next      *packet
    	from      sockaddr
    }
    
    func (p *packet) clear() {
    	p.buf = p.buf[:0]
    	p.bufOffset = 0
    	p.next = nil
    	p.from = nil
    }
    
    var packetPool = sync.Pool{
    	New: func() any { return new(packet) },
    }
    
    type packetQueueState struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 19:24:21 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  6. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/locklistener/FileLockPacketType.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.cache.internal.locklistener;
    
    /**
     * Packet type for communication about file locks.
     *
     * <p>For backward compatibility, enum constants must not be removed.
     */
    public enum FileLockPacketType {
        UNKNOWN,
        UNLOCK_REQUEST,
        UNLOCK_REQUEST_CONFIRMATION,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 929 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    //===----------------------------------------------------------------------===//
    // PackOp
    //===----------------------------------------------------------------------===//
    
    // TODO(b/133486129): Implement shape inference for pack
    
    mlir::LogicalResult PackOp::verify() {
      PackOp op = *this;
      // TODO(antiagainst): Implement other checks as in
      // tensorflow/lite/kernels/pack.cc
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  8. src/runtime/pprof/protobuf.go

    }
    
    func (b *protobuf) uint64(tag int, x uint64) {
    	// append varint to b.data
    	b.varint(uint64(tag)<<3 | 0)
    	b.varint(x)
    }
    
    func (b *protobuf) uint64s(tag int, x []uint64) {
    	if len(x) > 2 {
    		// Use packed encoding
    		n1 := len(b.data)
    		for _, u := range x {
    			b.varint(u)
    		}
    		n2 := len(b.data)
    		b.length(tag, n2-n1)
    		n3 := len(b.data)
    		copy(b.tmp[:], b.data[n2:n3])
    		copy(b.data[n1+(n3-n2):], b.data[n1:n2])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 30 20:09:46 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaNestedClass.kt

    // FILE: issue/pack/RowIcon.java
    package issue.pack;
    
    public class RowIcon {
        public static class RClass {}
    }
    
    // FILE: usage.kt
    package usage
    
    fun testJavaNestedClass(alignment: issue.pack.RowIcon.RClass) {
    }
    
    fun checkIt() {
        testJavaNestedClass(issue.pack.RowIcon.RClass())
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jan 03 21:35:12 UTC 2024
    - 285 bytes
    - Viewed (0)
  10. analysis/analysis-api/testData/components/diagnosticsProvider/diagnostics/javaInnerClassFromAnotherModule.kt

    // MODULE: dep
    // FILE: issue/pack/RowIcon.java
    package issue.pack;
    
    public class RowIcon {
        public class RClass {}
    }
    
    // MODULE: main(dep)
    // FILE: usage.kt
    package usage
    
    fun testJavaNestedClass(alignment: issue.pack.RowIcon.RClass) {
    }
    
    fun checkIt() {
        testJavaNestedClass(issue.pack.RowIcon().RClass())
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jan 03 21:35:12 UTC 2024
    - 316 bytes
    - Viewed (0)
Back to top