Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for unparseable (0.2 sec)

  1. tensorflow/c/c_api.cc

    void TF_SetConfig(TF_SessionOptions* options, const void* proto,
                      size_t proto_len, TF_Status* status) {
      if (!options->options.config.ParseFromArray(proto, proto_len)) {
        status->status = InvalidArgument("Unparseable ConfigProto");
      }
      // Disable optimizations for static graph to allow calls to Session::Extend.
      options->options.config.mutable_experimental()
          ->set_disable_optimize_for_static_graph(true);
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_function.cc

                                      TF_Status* status) {
      tensorflow::AttrValue attr_value;
      if (!attr_value.ParseFromArray(proto, proto_len)) {
        status->status = InvalidArgument(
            "Unparseable AttrValue proto passed to "
            "TF_FunctionSetAttrValueProto");
        return;
      }
    
      auto fdef_or = func->record->mutable_fdef();
      if (!fdef_or.ok()) {
        status->status = fdef_or.status();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  3. tensorflow/c/eager/c_api.cc

                                 TF_Status* status) {
      tensorflow::AttrValue attr_value;
      if (!attr_value.ParseFromArray(proto, proto_len)) {
        status->status =
            tensorflow::errors::InvalidArgument("Unparseable AttrValue proto");
        return;
      }
      if (op == nullptr) {
        status->status = tensorflow::errors::InvalidArgument(
            "Got a null or uninitialized `op` argument");
        return;
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  4. cmd/sftp-server.go

    	}
    
    	private, err := ssh.ParsePrivateKey(privateBytes)
    	if err != nil {
    		logger.Fatal(fmt.Errorf("invalid arguments passed, private key file is not parseable: %v", err), "unable to start SFTP server")
    	}
    
    	// An SSH server is represented by a ServerConfig, which holds
    	// certificate details and handles authentication of ServerConns.
    	sshConfig := &ssh.ServerConfig{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultToolchainsBuilder.java

                        toolchainsSource.getLocation(),
                        loc != null ? loc.getLineNumber() : -1,
                        loc != null ? loc.getColumnNumber() : -1,
                        e,
                        "Non-parseable toolchains " + toolchainsSource.getLocation() + ": " + e.getMessage(),
                        BuilderProblem.Severity.FATAL));
                return PersistedToolchains.newInstance();
            } catch (IOException e) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

                        settingsSource.getLocation(),
                        loc != null ? loc.getLineNumber() : -1,
                        loc != null ? loc.getColumnNumber() : -1,
                        e,
                        "Non-parseable settings " + settingsSource.getLocation() + ": " + e.getMessage(),
                        BuilderProblem.Severity.FATAL));
                return Settings.newInstance();
            } catch (IOException e) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  7. cni/pkg/cmd/root.go

    }
    
    func registerBooleanParameter(name string, value bool, usage string) {
    	rootCmd.Flags().Bool(name, value, usage)
    	registerEnvironment(name, value, usage)
    }
    
    func registerEnvironment[T env.Parseable](name string, defaultValue T, usage string) {
    	envName := strings.Replace(strings.ToUpper(name), "-", "_", -1)
    	// Note: we do not rely on istio env package to retrieve configuration. We relies on viper.
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 21:42:29 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        // Valid radix values are Character.MIN_RADIX to Character.MAX_RADIX,
        // inclusive.
        //
        // Note: According to the spec, a NumberFormatException is thrown for a number that is not
        // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix.
        // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case
        // (which seems to make more sense).
        try {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

        // Valid radix values are Character.MIN_RADIX to Character.MAX_RADIX,
        // inclusive.
        //
        // Note: According to the spec, a NumberFormatException is thrown for a number that is not
        // parseable, but the spec doesn't seem to say which exception is thrown for an invalid radix.
        // In contrast to the JVM, Kotlin native throws an Illegal argument exception in this case
        // (which seems to make more sense).
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin_test.go

    			want: []string{"1234", "2345"},
    		},
    		{
    			name: "Empty",
    			args: args{ports: []string{}},
    			want: []string{},
    		},
    		{
    			name: "Non-parseable",
    			args: args{ports: []string{"abcd", "2345", "abcd"}},
    			want: []string{"abcd", "2345"},
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top