Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_FinishWhile (0.21 sec)

  1. tensorflow/c/c_api.h

    // `cond_output` and `body_outputs`.
    //
    // If `status` is OK, the caller must call either TF_FinishWhile or
    // TF_AbortWhile on the returned TF_WhileParams. If `status` isn't OK, the
    // returned TF_WhileParams is not valid, and the caller should not call
    // TF_FinishWhile() or TF_AbortWhile().
    //
    // Missing functionality (TODO):
    // - Gradients
    // - Reference-type inputs
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  2. tensorflow/c/c_api_function_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        params->body_outputs[0] = {add2, 0};
        params->body_outputs[1] = params->body_inputs[1];
    
        // Finalize while loop
        TF_FinishWhile(params.get(), s_, &outputs[0]);
        EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      }
    
      // Define function, use it in graph, and run
      DefineT(-1, {}, {{feed1, 0}, {feed2, 0}}, {outputs[0]}, {});
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  3. tensorflow/c/c_api.cc

        outputs[i] = {ToOperation(loop_outputs[i].node()), loop_outputs[i].index()};
      }
    }
    
    }  // namespace
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
    
    void TF_FinishWhile(const TF_WhileParams* params, TF_Status* status,
                        TF_Output* outputs) {
    #if defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
      status->status = tensorflow::errors::Unimplemented(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
Back to top