Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for hasOptions (0.23 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      bit hasOptions = 0b0;
      // Whether the TFLite operator has options2 in the schema representation.
      bit hasOptions2 = 0b0;
    
      // Use to specify a custom options type for TFLite operators where
      // the option's name does not match the TFLite operator's name.
      // If no customOption is specified then <name>Options is used if the op
      // hasOptions.
      string customOption = ?;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/converter_gen.cc

      return oss.str();
    }
    
    static inline bool IsLstmOp(const StringRef op_name) {
      return op_name.take_back(6) == "LSTMOp";
    }
    
    static int HasOptions(const Record &def) {
      if (def.getValueAsBit("hasOptions")) {
        return 1;
      }
      if (def.getValueAsBit("hasOptions2")) {
        return 2;
      }
      return 0;
    }
    
    static void EmitOptionBuilders(const RecordKeeper &record_keeper,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/CommandLineParserTest.groovy

            then:
            !result.hasOption('a')
            !result.hasOption('b')
            result.hasOption('c')
            result.hasOption('long-option')
    
            when:
            result = parser.parse(['-a', '-b', '--long-option'])
    
            then:
            !result.hasOption('a')
            !result.hasOption('b')
            result.hasOption('c')
            result.hasOption('long-option')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 20.8K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/util/internal/ArgumentsSplitter.java

            boolean hasOption = false;
    
            for (int index = 0; index < arguments.length(); index++) {
                char c = arguments.charAt(index);
                if (currentQuote == null && Character.isWhitespace(c)) {
                    if (hasOption) {
                        commandLineArguments.add(currentOption.toString());
                        hasOption = false;
                        currentOption.setLength(0);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 2.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/cli/src/test/groovy/org/gradle/cli/ParsedCommandLineTest.groovy

            when:
            def line = new ParsedCommandLine([cmdOption("a"), cmdOption("b"), cmdOption("c")]);
            line.addOption("b", cmdOption("b"))
    
            then:
            !line.hasOption("a")
            line.hasOption("b")
    
            !line.hasAnyOption(["a", "c"])
            line.hasAnyOption(["b", "c"])
        }
    
        private CommandLineOption cmdOption(String opt) {
            new CommandLineOption([opt])
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            if (cl.hasOption(CLIManager.ALSO_MAKE) && !cl.hasOption(CLIManager.ALSO_MAKE_DEPENDENTS)) {
                return MavenExecutionRequest.REACTOR_MAKE_UPSTREAM;
            } else if (!cl.hasOption(CLIManager.ALSO_MAKE) && cl.hasOption(CLIManager.ALSO_MAKE_DEPENDENTS)) {
                return MavenExecutionRequest.REACTOR_MAKE_DOWNSTREAM;
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/LoggingConfigurationBuildOptions.java

                if (options.hasOption(QUIET_LONG_OPTION)) {
                    settings.setLogLevel(LogLevel.QUIET);
                } else if (options.hasOption(WARN_LONG_OPTION)) {
                    settings.setLogLevel(LogLevel.WARN);
                } else if (options.hasOption(INFO_LONG_OPTION)) {
                    settings.setLogLevel(LogLevel.INFO);
                } else if (options.hasOption(DEBUG_LONG_OPTION)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 28 21:41:57 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. platforms/core-runtime/wrapper-main/src/main/java/org/gradle/wrapper/GradleWrapperMain.java

            if (options.hasOption(GRADLE_USER_HOME_OPTION)) {
                return new File(options.option(GRADLE_USER_HOME_OPTION).getValue());
            }
            return GradleUserHomeLookup.gradleUserHome();
        }
    
        private static Logger logger(ParsedCommandLine options) {
            return new Logger(options.hasOption(GRADLE_QUIET_OPTION));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/cli/src/main/java/org/gradle/cli/ParsedCommandLine.java

        }
    
        /**
         * See also {@link #hasOption}.
         *
         * @param logLevelOptions the options to check
         * @return true if any of the passed options is present
         */
        public boolean hasAnyOption(Collection<String> logLevelOptions) {
            for (String option : logLevelOptions) {
                if (hasOption(option)) {
                    return true;
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:00:57 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/build-option/src/main/java/org/gradle/internal/buildoption/BooleanBuildOption.java

            for (BooleanCommandLineOptionConfiguration config : commandLineOptionConfigurations) {
                if (options.hasOption(config.getLongOption())) {
                    applyTo(true, settings, Origin.forCommandLine(config.getLongOption()));
                }
    
                if (options.hasOption(getDisabledCommandLineOption(config))) {
                    applyTo(false, settings, Origin.forCommandLine(getDisabledCommandLineOption(config)));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 11:25:33 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top