Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 62 for input_type (0.26 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/dsl/DefaultComponentMetadataProcessor.java

            }
        }
    
        private boolean shouldExecute(RuleAction<? super ComponentMetadataDetails> action, ModuleComponentResolveMetadata metadata) {
            List<Class<?>> inputTypes = action.getInputTypes();
            if (!inputTypes.isEmpty()) {
                return inputTypes.stream().anyMatch(input -> MetadataDescriptorFactory.isMatchingMetadata(input, metadata));
            }
            return true;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/PropertyAssignmentIntegrationTest.groovy

            def initValue = inputType.contains("Map<") ? "[:]" : "[]"
            def inputDeclaration = "$inputType input = $initValue"
            groovyBuildFile(inputDeclaration, inputValue, operation)
    
            expect:
            runAndAssert("myTask", expectedResult)
    
            where:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 28 14:39:49 UTC 2023
    - 36.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

                                const llvm::SmallVectorImpl<Attribute>& input_types,
                                llvm::SmallVectorImpl<Value>& input_values) const {
        if (input_types.size() <= 1) return;
    
        Type target_input_type = mlir::cast<TypeAttr>(input_types[0]).getValue();
        auto result_type = UnrankedTensorType::get(target_input_type);
        for (auto i = 1; i < input_types.size(); ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/utils/tf_xla_mlir_translate.cc

      if (!module_op) return mlir::failure();
    
      llvm::SmallVector<XlaArgument, 4> xla_arguments;
      auto args_status = ParseXlaArguments(
          mlir::StringRefToView(input_shapes), mlir::StringRefToView(input_dtypes),
          mlir::StringRefToView(input_types), xla_arguments);
      if (!args_status.ok()) {
        LOG(ERROR) << args_status;
        return mlir::failure();
      }
    
      XlaCompilationResult compilation_result;
      auto compilation_status =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.cc

        const std::vector<std::string>& input_dtypes,
        const std::vector<std::optional<std::vector<int>>>& input_shapes,
        const std::vector<std::string>& output_arrays,
        const std::vector<std::string>& control_output_arrays,
        const GraphdefToMlirOptions& import_options, mlir::MLIRContext* context) {
      auto module_or = GraphdefToMlirImport(
          input, input_arrays, input_dtypes, input_shapes, output_arrays,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 11:51:44 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/api/file/FileCollectionSymlinkIntegrationTest.groovy

            output.text == "${[REMOVED]}"
        }
    
        def "broken symlink in #inputType.simpleName fails validation"() {
            enableProblemsApiCheck()
            def brokenInputFile = file('brokenInput').createLink("brokenInputFileTarget")
            buildFile << """
                class CustomTask extends DefaultTask {
                    @${inputType.simpleName} File brokenInputFile
    
                    @TaskAction execute() {}
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_save_function_ops_to_main.cc

              file_prefix_arg_type,
              NameLoc::get(builder.getStringAttr(kTfFilePrefix)));
    
      SmallVector<Type> input_types(main_func_op.getArgumentTypes());
      input_types.emplace_back(file_prefix_arg_type);
    
      main_func_op.setType(
          builder.getFunctionType(input_types, main_func_op.getResultTypes()));
    
      // Add "__tf_file_prefix" to the "tf_saved_model.index_path" attribute for the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. tensorflow/c/kernels_experimental.cc

                                                tensorflow::Var** maybe_resource) {
      auto* cc_ctx = reinterpret_cast<::tensorflow::OpKernelContext*>(ctx);
      *maybe_resource = nullptr;
      if (cc_ctx->input_dtype(input) == tensorflow::DT_RESOURCE) {
        if (LookupResource(cc_ctx, HandleFromInput(cc_ctx, input), maybe_resource)
                .ok()) {
          return (*maybe_resource)->mu();
        } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc

        if (!init_func) continue;
    
        auto init_type =
            init_func->getAttrOfType<StringAttr>(kTfSavedModelInitializerTypeAttr);
        if (!init_type) continue;
    
        if (init_types.contains(init_type)) {
          return init_func->emitError()
                 << "Attribute tf_saved_model.initializer_type should not have "
                    "duplicate values. Found duplicate: "
                 << init_type;
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/cluster_tf_ops_pass.cc

        // Do not create any new function for the operations on the localhost.
        if (IsOnLocalHost(host)) continue;
    
        llvm::SmallVector<mlir::Type, 4> input_types;
        llvm::SmallVector<mlir::Type, 4> result_types;
        for (Value input : metadata.inputs) {
          input_types.push_back(input.getType());
        }
        for (Value result : metadata.results) {
          result_types.push_back(result.getType());
        }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 13.4K bytes
    - Viewed (0)
Back to top