Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 108 for input_type (0.24 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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