Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for shape_1 (0.05 sec)

  1. tensorflow/c/c_api_experimental.h

        TF_ShapeAndTypeList** shape_list_array, int num_items);
    
    // Infer shapes for the given `op`. The arguments mimic the arguments of the
    // `shape_inference::InferenceContext` constructor. Note the following:
    //   - The inputs of the `op` are not used for shape inference. So, it is
    //     OK to not have the inputs properly set in `op`. See `input_tensors`
    //     if you want shape inference to consider the input tensors of the
    //     op for shape inference.
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/MsrpcDfsRootEnumTest.java

            populatedArray.count = 3;
            populatedArray.s = new netdfs.DfsInfo200[3];
    
            // Create DFS root entries
            String[] rootNames = { "share1", "share2", "share3" };
            for (int i = 0; i < 3; i++) {
                netdfs.DfsInfo200 entry = new netdfs.DfsInfo200();
                entry.dfs_name = rootNames[i];
                populatedArray.s[i] = entry;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.9K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.cc

        ShapeHandle shape_handle = c.output(i);
        TF_ShapeAndType& shape = output_shapes_result->items[i];
        shape.num_dims = c.Rank(shape_handle);
        if (shape.num_dims == InferenceContext::kUnknownRank) {
          shape.dims = nullptr;
          continue;
        }
        shape.dims = new int64_t[shape.num_dims];
        for (size_t j = 0; j < shape.num_dims; ++j) {
          shape.dims[j] = c.Value(c.Dim(shape_handle, j));
        }
      }
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental_test.cc

      CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
    
      // Infer shape when everything is known.
      CheckOutputShapes(matmul_op,
                        /*input_shapes*/ {make_shape({3, 2}), make_shape({2, 4})},
                        /*input_tensors*/ {},
                        /*expected_shape*/ make_shape({3, 4}));
    
      // Infer shape when second operand has unknown shape.
      CheckOutputShapes(matmul_op,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue Jan 17 22:27:52 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

        }
    
        @Test
        @DisplayName("Test equals method with same netName")
        void testEqualsWithSameNetName() {
            SmbShareInfo info1 = new SmbShareInfo("Share1", 0, "Remark1");
            SmbShareInfo info2 = new SmbShareInfo("Share1", 1, "Remark2");
    
            // Same netName, different type and remark
            assertTrue(info1.equals(info2));
            assertTrue(info2.equals(info1));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/context/BaseContextTest.java

        void testResourceCreationConsistency() throws CIFSException {
            // Test that resource creation works consistently
            String[] validUrls = { "smb://server1/share1/", "smb://server2/share2/file.txt" };
    
            for (String validUrl : validUrls) {
                // When
                SmbResource resource = context.get(validUrl);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            srvsvc.ShareInfoCtr0 ctr0 = new srvsvc.ShareInfoCtr0();
            ctr0.count = 2;
            ctr0.array = new srvsvc.ShareInfo0[2];
            ctr0.array[0] = new srvsvc.ShareInfo0();
            ctr0.array[0].netname = "Share1";
            ctr0.array[1] = new srvsvc.ShareInfo0();
            ctr0.array[1].netname = "Share2";
    
            // Set up mocks
            mockDeferredBuffer.index = 0; // Set field directly
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          return samples;
        }
    
        @Override
        public Set<K> create(Object... elements) {
          @SuppressWarnings("unchecked")
          K[] keysArray = (K[]) elements;
    
          // Start with a suitably shaped collection of entries
          Collection<Entry<K, V>> originalEntries = mapGenerator.getSampleElements(elements.length);
    
          // Create a copy of that, with the desired value for each key
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

        }
    
        @Test
        @DisplayName("Test readDataWireFormat with single share")
        void testReadDataWireFormatSingleShare() throws Exception {
            // Prepare test data
            String shareName = "SHARE1";
            int shareType = 0x00000000; // Disk share
            String remark = "Test share";
    
            // Calculate buffer size
            int shareNameSize = 14; // 13 bytes + null terminator (fixed field)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            // Given
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            // Add some trees
            SmbTreeImpl tree1 = session.getSmbTree("share1", null);
            SmbTreeImpl tree2 = session.getSmbTree("share2", null);
            assertNotNull(tree1);
            assertNotNull(tree2);
    
            // When - Release session to trigger cleanup
            session.release();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top