Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 82 for function_type (0.22 sec)

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

        }
    
        @Test
        @TestMetadata("functionalType.kt")
        public void testFunctionalType() {
          runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionalType.kt");
        }
    
        @Test
        @TestMetadata("functionalType_parens_1.kt")
        public void testFunctionalType_parens_1() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 10:25:23 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

        }
        std::vector<Type> return_types;
        for (auto ret_op : ret->getOperands()) {
          return_types.push_back(ret_op.getType());
        }
        auto newType =
            FunctionType::get(rewriter.getContext(), argument_types, return_types);
        if (f.getFunctionType() == newType) {
          return failure();
        }
        rewriter.modifyOpInPlace(f, [&] { f.setType(newType); });
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

          op.erase();
        }
      }
      if (lifted_op_and_arg_idx.empty()) return success();
    
      // Update the function signature as well as its uses.
      target_func.setType(FunctionType::get(target_func.getContext(),
                                            block.getArgumentTypes(),
                                            func_type.getResults()));
    
      IRMapping mapping;
      OpBuilder builder(module_op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/expressionTypeProvider/FirIdeDependentAnalysisSourceModuleHLExpressionTypeTestGenerated.java

        }
    
        @Test
        @TestMetadata("functionalType.kt")
        public void testFunctionalType() {
          runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionalType.kt");
        }
    
        @Test
        @TestMetadata("functionalType_parens_1.kt")
        public void testFunctionalType_parens_1() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 10:25:23 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/expressionTypeProvider/Fe10IdeNormalAnalysisSourceModuleHLExpressionTypeTestGenerated.java

        }
    
        @Test
        @TestMetadata("functionalType.kt")
        public void testFunctionalType() {
          runTest("analysis/analysis-api/testData/components/expressionTypeProvider/expressionType/nameReference/functionalType.kt");
        }
    
        @Test
        @TestMetadata("functionalType_parens_1.kt")
        public void testFunctionalType_parens_1() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 10:25:23 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

            } ?: return null
    
            val functionLiteral = blockExpression.parent as? KtFunctionLiteral
            return if (functionLiteral != null) {
                val functionalType = getExpectedType(functionLiteral) as? KaFunctionalType
                functionalType?.returnType
            } else {
                getExpectedType(blockExpression)
            }
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

          llvm::StringMap<Attribute>* derived_attrs) const;
    
      // Uses the collected attribute values to derive all the output types.
      LogicalResult DeriveOutputTypes(Location loc, FunctionType signature,
                                      const llvm::StringMap<Attribute>& attrs,
                                      SmallVectorImpl<Type>* output_types) const;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/outline_composites.cc

                                        PatternRewriter& rewriter,
                                        Block* insertion_point) {
      rewriter.setInsertionPointToStart(insertion_point);
    
      auto ftype = FunctionType::get(rewriter.getContext(), {type}, {type});
      auto name = rewriter.getStringAttr("gelu_decomp");
      func::FuncOp new_func = rewriter.create<func::FuncOp>(
          insertion_point->front().getLoc(), name, ftype);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc

      builder.setInsertionPointToEnd(&module_op.getBodyRegion().front());
    
      auto filename_input_type = RankedTensorType::get(
          /*shape=*/{}, /*elementType=*/builder.getType<TF::StringType>());
    
      FunctionType func_type = builder.getFunctionType(
          /*inputs=*/{filename_input_type}, /*results=*/{});
      auto save_func = builder.create<func::FuncOp>(
          NameLoc::get(builder.getStringAttr(kTfQuantSaveFuncName)),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc

        new_float_func_args[weight_operand_idx] = reshape_op;
        new_float_func.getArgument(weight_operand_idx).setType(new_shape);
        new_float_func.setType(FunctionType::get(
            getContext(), TypeRange{ValueRange{new_float_func_args}},
            new_float_func.getResultTypes()));
        symbol_table.insert(new_float_func);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
Back to top