Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for input_type (0.21 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/MergeInstrumentationAnalysisTransform.java

            File input = getInput().get().getAsFile();
            InstrumentationInputType inputType = getInputType(input);
            switch (inputType) {
                case DEPENDENCY_ANALYSIS_DATA:
                    doMergeAndOutputAnalysis(input, outputs);
                    return;
                case ORIGINAL_ARTIFACT:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 15:08:33 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/TypeUtils.java

        static {
            Map<Type, String> map = new HashMap<>();
            map.put(Type.BYTE_TYPE, "0");
            map.put(Type.SHORT_TYPE, "0");
            map.put(Type.INT_TYPE, "0");
            map.put(Type.LONG_TYPE, "0L");
            map.put(Type.FLOAT_TYPE, "0.0f");
            map.put(Type.DOUBLE_TYPE, "0.0");
            map.put(Type.CHAR_TYPE, "'\\u0000'");
            map.put(Type.BOOLEAN_TYPE, "false");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 15:45:10 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc

      // within the subgraph and are referenced outside the subgraph.
      llvm::SmallVector<Type> input_types =
          TypesFromValues(subgraph.FuncArguments());
      llvm::SmallVector<Type> return_types =
          TypesFromValues(subgraph.FuncOutputs());
    
      FunctionType function_type =
          builder.getFunctionType(input_types, return_types);
    
      std::string function_name = absl::StrCat("func_", subgraph.subgraph_id_);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc

      mlir::MLIRContext* context = tfr_module_.getContext();
      llvm::SmallVector<mlir::Type, 4> input_tys, output_tys;
      mlir::Builder builder(context);
      for (auto ty : input_dtys) {
        mlir::Type elt_ty;
        TF_RETURN_IF_ERROR(ConvertDataType(ty, builder, &elt_ty));
        mlir::TensorType mlir_ty = mlir::UnrankedTensorType::get(elt_ty);
        input_tys.push_back(mlir_ty);
      }
      for (auto ty : output_dtys) {
        mlir::Type elt_ty;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 29 02:34:43 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_registration.cc

          enable_shape_inference, unconditionally_use_set_output_shapes,
          enable_soft_placement,  set_original_tf_func_name};
    
      auto module_or = tensorflow::GraphdefToMlirTranslateFunction(
          input, input_arrays, input_dtypes, input_shapes, output_arrays,
          control_output_arrays, options, context);
      if (!module_or.status().ok()) return nullptr;
      return std::move(module_or).value();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.h

        bool use_splatted_constant, const std::vector<std::string>& extra_tf_opdefs,
        const GraphImportConfig& specs, absl::string_view debug_info_file,
        absl::string_view input_arrays, absl::string_view input_dtypes,
        absl::string_view input_shapes, absl::string_view output_arrays,
        absl::string_view control_output_arrays, llvm::SourceMgr* source_mgr,
        mlir::MLIRContext* context);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 08:30:24 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top