Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for set_dtype (0.08 seconds)

  1. tensorflow/c/c_api.cc

        for (const auto& p : *shapes_and_types) {
          auto* out_shape_and_type = handle_data.add_shape_and_type();
          ic->ShapeHandleToProto(p.shape, out_shape_and_type->mutable_shape());
          out_shape_and_type->set_dtype(p.dtype);
          *out_shape_and_type->mutable_type() = p.type;
        }
      }
      string str_data;
      handle_data.SerializeToString(&str_data);
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  2. cmd/endpoint.go

    	var setupType SetupType
    
    	if isEmptyLayout(poolsLayout...) {
    		return nil, setupType, config.ErrInvalidErasureEndpoints(nil).Msg("invalid number of endpoints")
    	}
    
    	// Check whether serverAddr is valid for this host.
    	if err := CheckLocalServerAddr(serverAddr); err != nil {
    		return nil, setupType, err
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 34.5K bytes
    - Click Count (0)
  3. cmd/endpoint-ellipses.go

    func createServerEndpoints(serverAddr string, poolArgs []poolDisksLayout, legacy bool) (
    	endpointServerPools EndpointServerPools, setupType SetupType, err error,
    ) {
    	if len(poolArgs) == 0 {
    		return nil, -1, errInvalidArgument
    	}
    
    	poolEndpoints, setupType, err := CreatePoolEndpoints(serverAddr, poolArgs...)
    	if err != nil {
    		return nil, -1, err
    	}
    
    	for i, endpointList := range poolEndpoints {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  4. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            toolchain.setType("TYPE");
            toolchain.setProvides(props);
            PersistedToolchains userResult = new PersistedToolchains();
            userResult.setToolchains(Collections.singletonList(toolchain));
    
            props = new Properties();
            props.put("key", "global_value");
            toolchain = new ToolchainModel();
            toolchain.setType("TYPE");
            toolchain.setProvides(props);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 14K bytes
    - Click Count (0)
  5. cmd/endpoint_test.go

    			}
    			pools, setupType, err := CreatePoolEndpoints(testCase.serverAddr, srvCtxt.Layout.pools...)
    			if err == nil && testCase.expectedErr != nil {
    				t.Errorf("Test %d: expected = %v, got = <nil>", i+1, testCase.expectedErr)
    			}
    			if err == nil {
    				if setupType != testCase.expectedSetupType {
    					t.Errorf("Test %d: setupType: expected = %v, got = %v", i+1, testCase.expectedSetupType, setupType)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/util/MimeMap.java

                        break;
                    }
                    if (ch == '#') {
                        state = ST_COMM;
                        break;
                    }
                    state = ST_TYPE;
                case ST_TYPE:
                    if (ch == ' ' || ch == '\t') {
                        state = ST_GAP;
                    } else {
                        type[t++] = ch;
                    }
                    break;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/core/lang/GenericsUtilTest.java

         */
        public void testSet() throws Exception {
            final Method m1 = SetType.class.getMethod("setOfString");
            final Type t1 = m1.getGenericReturnType();
            assertThat(GenericsUtil.isTypeOf(t1, Set.class), is(true));
            assertThat(GenericsUtil.getElementTypeOfSet(t1), is(sameClass(String.class)));
    
            final Method m2 = SetType.class.getMethod("setOfClass");
            final Type t2 = m2.getGenericReturnType();
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/Parameter.java

            this.setDescription(p.getDescription());
            this.setExpression(p.getExpression());
            this.setDeprecated(p.getDeprecated());
            this.setDefaultValue(p.getDefaultValue());
            this.setType(p.getType());
            this.setSince(p.getSince());
        }
    
        // ----------------------------------------------------------------------
        //
        // ----------------------------------------------------------------------
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. cmd/server-main.go

    	env.RegisterGlobalCAs(globalRootCAs)
    
    	globalEndpoints, setupType, err = createServerEndpoints(globalMinioAddr, ctxt.Layout.pools, ctxt.Layout.legacy)
    	logger.FatalIf(err, "Invalid command line arguments")
    	globalNodes = globalEndpoints.GetNodes()
    
    	globalIsErasure = (setupType == ErasureSetupType)
    	globalIsDistErasure = (setupType == DistErasureSetupType)
    	if globalIsDistErasure {
    		globalIsErasure = true
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:18:36 GMT 2025
    - 35.9K bytes
    - Click Count (4)
  10. src/main/java/org/codelibs/fess/timer/HotThreadMonitorTarget.java

                        .setIgnoreIdleThreads(ignoreIdleThreads)
                        .setInterval(interval)
                        .setThreads(threads)
                        .setTimeout(timeout)
                        .setType(type)
                        .execute()
                        .actionGet(timeout);
                append(buf, "cluster_name", () -> response.getClusterName().value()).append(',');
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top