Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for return_opers (0.17 sec)

  1. tensorflow/c/c_api_test.cc

      EXPECT_EQ(0, return_outputs[1].index);
    
      // Check return operation
      TF_Operation** return_opers;
      int num_return_opers;
      TF_ImportGraphDefResultsReturnOperations(results, &num_return_opers,
                                               &return_opers);
      ASSERT_EQ(1, num_return_opers);
      EXPECT_EQ(scalar2, return_opers[0]);  // not remapped
    
      TF_DeleteImportGraphDefResults(results);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    // TF_ImportGraphDefOptionsAddReturnOutput().
    TF_CAPI_EXPORT extern int TF_ImportGraphDefOptionsNumReturnOutputs(
        const TF_ImportGraphDefOptions* opts);
    
    // Add an operation in `graph_def` to be returned via the `return_opers` output
    // parameter of TF_GraphImportGraphDef(). `oper_name` is copied and has no
    // lifetime requirements.
    TF_CAPI_EXPORT extern void TF_ImportGraphDefOptionsAddReturnOperation(
    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/tensorflow/transforms/shape_inference.cc

      // Find any return ops.
      SmallVector<func::ReturnOp, 4> return_ops;
      for (Block& block : func) {
        if (auto return_op = dyn_cast<func::ReturnOp>(block.getTerminator())) {
          return_ops.push_back(return_op);
        }
      }
    
      // Skip functions without a return, but don't flag as failure here.
      if (return_ops.empty()) return success();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
Back to top