Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for axis (0.2 sec)

  1. tensorflow/c/eager/c_api_test.cc

      TFE_TensorHandle* axis = TestAxisTensorHandle(ctx);
      TFE_Op* minOp = MinOp(ctx, input, axis);
      TFE_TensorHandle* retvals[1] = {nullptr};
      int num_retvals = 1;
      TFE_Execute(minOp, &retvals[0], &num_retvals, status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TFE_DeleteOp(minOp);
      TFE_DeleteTensorHandle(input);
      TFE_DeleteTensorHandle(axis);
      ASSERT_EQ(1, num_retvals);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  2. tensorflow/c/c_api_test.cc

      // Make a placeholder operation.
      TF_Operation* feed = Placeholder(graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Make a constant operation with the scalar "0", for axis.
      TF_Operation* one = ScalarConst(0, graph, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Create a session for this graph.
      CSession csession(graph, s, use_XLA);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  3. tensorflow/BUILD

        visibility = ["//visibility:public"],
    )
    
    # DO NOT ADD ANY NEW EXCEPTIONS TO THIS LIST!
    # Instead, please use public APIs or public build rules TF provides.
    # If you need functionality that is not exposed, we will work with you to expand our public APIs.
    # TODO(b/173549186): Move Google-internal TF code out of learning/brain
    package_group(
        name = "internal",
        packages = [
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 09 18:15:11 GMT 2024
    - 53.4K bytes
    - Viewed (8)
  4. tensorflow/c/c_api.h

    //
    // On success, place OK in status.
    // On failure, place an error status in status.
    TF_CAPI_EXPORT extern void TF_RegisterFilesystemPlugin(
        const char* plugin_filename, TF_Status* status);
    
    // Apis that are corresponding to python c api. --------------------
    
    // Add control input to `op`.
    TF_CAPI_EXPORT extern void TF_AddOperationControlInput(TF_Graph* graph,
    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)
Back to top