Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for while_loop (0.21 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

    from tensorflow.python.ops import nn_ops
    from tensorflow.python.ops import random_ops
    from tensorflow.python.ops import string_ops
    from tensorflow.python.ops import variables
    from tensorflow.python.ops import while_loop as while_loop_ops
    from tensorflow.python.ops.ragged import ragged_string_ops
    from tensorflow.python.platform import test
    from tensorflow.python.platform import tf_logging as logging
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    // This method is used to add a new input edge to 'dst', which must be a While
    // op. The While op's "T" attribute must have already been updated to include
    // the new edge. This is used to construct tf.while_loop gradients.
    TF_CAPI_EXPORT extern void TF_AddWhileInputHack(TF_Graph* graph,
                                                    TF_Output new_src,
                                                    TF_Operation* dst,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      module.walk([&](mlir::TFL::WhileOp while_op) {
        auto cond = symbol_table.lookup<mlir::func::FuncOp>(
            while_op->getAttr("cond").cast<mlir::FlatSymbolRefAttr>().getValue());
        AddCallOpInWhileOpRegion(while_op.getCond(), cond);
        while_op->removeAttr("cond");
        auto body = symbol_table.lookup<mlir::func::FuncOp>(
            while_op->getAttr("body").cast<mlir::FlatSymbolRefAttr>().getValue());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc

      // Recreate the while op.
      OpBuilder builder(while_op);
      // Now use the filtered original operands, which will be replaced by
      // AddLoadsStoresOutsideControlFlowOp().
      auto new_while = builder.create<TF::WhileOp>(
          while_op.getLoc(), body.getFunctionType().getResults(),
          FilterRange<Value, OperandRange>(while_op.getOperands(),
                                           resource_arg_uses),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc

          MarkOutsideCompiled(host_if.getOperation());
        }
        if (auto while_op = llvm::dyn_cast<mlir::TF::WhileRegionOp>(op)) {
          if (!HasOutsideCompilationNested(op)) return WalkResult::advance();
          OpBuilder builder(while_op);
          auto host_while = CloneEmptyWhile(while_op.getParallelIterations(),
                                            while_op.getLoc(), builder);
          const auto condition_send_recv_key =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 68.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

                                    TF::WhileOp& while_op) {
      // Given a while loop body function 'body_func', find the tf.While Op that
      // uses it.
      auto uses_optional = body_func.getSymbolUses(module);
      if (!uses_optional.has_value()) {
        body_func.emitOpError() << "no use of while loop body";
        return LogicalResult::failure();
      }
      while_op = nullptr;
      for (auto& use : uses_optional.value()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/expressionInfoProvider/FirIdeDependentAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java

        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/whileExpr.kt");
      }
    
      @Test
      @TestMetadata("whileLoop.kt")
      public void testWhileLoop() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/whileLoop.kt");
      }
    
      @Test
      @TestMetadata("whileLoopBlock.kt")
      public void testWhileLoopBlock() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 08 19:07:43 UTC 2024
    - 76.4K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/expressionInfoProvider/Fe10IdeNormalAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java

        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/whileExpr.kt");
      }
    
      @Test
      @TestMetadata("whileLoop.kt")
      public void testWhileLoop() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/whileLoop.kt");
      }
    
      @Test
      @TestMetadata("whileLoopBlock.kt")
      public void testWhileLoopBlock() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 08 19:07:43 UTC 2024
    - 76.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/tests-gen/org/jetbrains/kotlin/analysis/api/fir/test/cases/generated/cases/components/expressionInfoProvider/FirIdeNormalAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java

        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/whileExpr.kt");
      }
    
      @Test
      @TestMetadata("whileLoop.kt")
      public void testWhileLoop() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/whileLoop.kt");
      }
    
      @Test
      @TestMetadata("whileLoopBlock.kt")
      public void testWhileLoopBlock() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 08 19:07:43 UTC 2024
    - 76.4K bytes
    - Viewed (0)
  10. analysis/analysis-api-standalone/tests-gen/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/generated/cases/components/expressionInfoProvider/FirStandaloneNormalAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java

        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/whileExpr.kt");
      }
    
      @Test
      @TestMetadata("whileLoop.kt")
      public void testWhileLoop() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/whileLoop.kt");
      }
    
      @Test
      @TestMetadata("whileLoopBlock.kt")
      public void testWhileLoopBlock() {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 08 19:07:43 UTC 2024
    - 76.5K bytes
    - Viewed (0)
Back to top