Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 130 for input_type (0.32 sec)

  1. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.cc

      for (auto input : llvm::zip(getOperandTypes(), getInputSpecs())) {
        Type inputType = std::get<0>(input);
        Attribute inputSpec = std::get<1>(input);
        if (!isValidQuantizationSpec(inputSpec, inputType)) {
          return emitOpError() << "has incompatible specification " << inputSpec
                               << " and input type " << inputType;
        }
      }
    
      for (auto result : llvm::zip(getResultTypes(), getOutputSpecs())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.cc

      for (auto input : llvm::zip(getOperandTypes(), getInputSpecs())) {
        Type inputType = std::get<0>(input);
        Attribute inputSpec = std::get<1>(input);
        if (!isValidQuantizationSpec(inputSpec, inputType)) {
          return emitOpError() << "has incompatible specification " << inputSpec
                               << " and input type " << inputType;
        }
      }
    
      for (auto result : llvm::zip(getResultTypes(), getOutputSpecs())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate.h

    absl::StatusOr<mlir::OwningOpRef<mlir::ModuleOp>>
    GraphdefToMlirTranslateFunction(
        llvm::StringRef input, const std::vector<std::string>& input_arrays,
        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,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/internal/rules/RuleSourceBackedRuleAction.java

        private final R instance;
        private final JavaMethod<R, T> ruleMethod;
        private final List<Class<?>> inputTypes;
    
        private RuleSourceBackedRuleAction(R instance, JavaMethod<R, T> ruleMethod) {
            this.instance = instance;
            this.ruleMethod = ruleMethod;
            this.inputTypes = determineInputTypes(ruleMethod.getParameterTypes());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.cc

    }
    
    Type InferReductionOpType(Value input, Value reduction_indices,
                              BoolAttr keep_dims) {
      Type input_ty = input.getType();
      Type element_ty = getElementTypeOrSelf(input_ty);
    
      // Output type is unranked if input type is not ranked.
      auto ranked_ty = mlir::dyn_cast<RankedTensorType>(input_ty);
      if (!ranked_ty) return UnrankedTensorType::get(element_ty);
      int64_t rank = ranked_ty.getRank();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. 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)
Back to top