Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 30 for function_type (0.26 sec)

  1. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/expressionTypeProvider/FirStandaloneNormalAnalysisSourceModuleDeclarationReturnTypeTestGenerated.java

      }
    
      @Test
      @TestMetadata("funtionType.kt")
      public void testFuntionType() {
        runTest("analysis/analysis-api/testData/components/expressionTypeProvider/declarationReturnType/funtionType.kt");
      }
    
      @Test
      @TestMetadata("localDeclarations.kt")
      public void testLocalDeclarations() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Feb 27 20:30:06 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/KotlinGrammar.kt

        val nullableType =
            (typeReference + parenthesizedType) * oneOrMore(token(QUEST))
    
        val receiverType by debug {
            parenthesizedType + nullableType + typeReference
        }
    
        val functionType =
            optional(receiverType * token(DOT)) * functionTypeParameters * token(ARROW) * type
    
        val callableReference by debug {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/optimize_functional_ops.cc

      Operation* terminator = func.front().getTerminator();
      auto return_types = llvm::to_vector<4>(terminator->getOperandTypes());
    
      FunctionType func_type = func.getFunctionType();
      if (llvm::ArrayRef(return_types) == func_type.getResults()) return;
    
      auto updated_type =
          FunctionType::get(func.getContext(), func_type.getInputs(), return_types);
      func.setType(updated_type);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc

        SmallVector<Type, 16> func_result_types;
        for (Value operand : island_op.GetYield().getOperands())
          func_result_types.push_back(operand.getType());
        FunctionType func_type =
            FunctionType::get(ctx, func_operand_types, func_result_types);
    
        // Create the outlined function
        SmallString<32> name = kOutlinedFuncPrefix;
        name += llvm::Twine(prefix_id++).str();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/convert_session_initializer_to_function.cc

        module->emitWarning("session_initializer function already exists");
        session_initializer.erase();
        return;
      }
    
      auto init = builder.create<func::FuncOp>(
          module.getLoc(), name,
          FunctionType::get(module.getContext(), /*inputs=*/{}, /*results=*/{}));
    
      // Make savedmodel verification happy.
      init->setAttr("tf_saved_model.exported_names",
                    builder.getStrArrayAttr({name}));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 05:03:09 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc

      }
    
      mlir::Location loc = mlir::UnknownLoc::get(context);
      mlir::ModuleOp module = mlir::ModuleOp::create(loc);
      mlir::FunctionType func_type =
          mlir::FunctionType::get(context, input_tys, output_tys);
      llvm::StringRef func_name_str(func_name.data(), func_name.size());
      auto func = mlir::func::FuncOp::create(loc, func_name_str, func_type, {});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 29 02:34:43 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/xla_call_module_deserialization.mlir

    4\1F\03\01\06\03\01\05\01\00\9E\07G\1B)\11\0B!\1B\1D\05\1B\1B\03\0F%\1F/!!)#\1F\19)\1F\13\15\1D\15G\11\1F\15\11\0F\0B\11builtin\00vhlo\00module\00func_v1\00return_v1\00custom_call_v1\00call_v1\00xla_call_module_serialization.mlir\00arg_attrs\00function_type\00res_attrs\00sym_name\00sym_visibility\00mhlo.num_partitions\00api_version\00backend_config\00call_target_name\00called_computations\00has_side_effect\00operand_layouts\00output_operand_aliases\00result_layouts\00tf.backend_config\00callee\0...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 02 18:38:51 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/internal/utils/test_metadata_config.cc

      auto main_fn = module.lookupSymbol<mlir::func::FuncOp>(kEntryFuncName);
      if (!main_fn) {
        return absl::InternalError("Could not find main function in MLIR Module.");
      }
    
      mlir::FunctionType func_type = main_fn.getFunctionType();
      for (auto input_type : func_type.getInputs()) {
        tensorflow::TensorShape tensor_shape;
        xla::Shape xla_shape = xla::TypeToShape(input_type);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/xla_rewrite.cc

          removed_params.push_back(false);
        }
      }
      // Remove old resource-type parameters.
      callee.getBody().front().eraseArguments(removed_params);
      // Update function type.
      callee.setFunctionType(FunctionType::get(callee.getContext(),
                                               callee.getBody().getArgumentTypes(),
                                               callee.getResultTypes()));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/call_xla_module_to_stablehlo.mlir

    \01\00f\051\0F\0B\03!\1B\1D[;\05\1F\15\1D\15\1D%)9\13\15\19\11\0F\0B\11builtin\00vhlo\00module\00func_v1\00multiply_v1\00return_v1\00sym_name\00jax.uses_shape_polymorphism\00mhlo.num_partitions\00mhlo.num_replicas\00jit_jax_model\00arg_attrs\00function_type\00res_attrs\00sym_visibility\00x\00jit(jax_model)/jit(main)/mul\00experimental/users/ypang/lite/convert_ulm.py\00mhlo.sharding\00{replicated}\00jax.result_info\00\00main\00public\00", platforms = ["CPU"], version = 8 : i64} : (tensor<2x3xi32>)...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 21:25:51 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top