Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for min (0.23 sec)

  1. tensorflow/c/c_api_test.cc

      if (!device.empty()) {
        LOG(INFO) << "Setting op Min on device " << device;
      }
      TF_Operation* min = MinWithDevice(feed, one, graph, device, s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    
      // Run the graph.
      csession.SetInputs({{feed, Int32Tensor({3, 2, 5})}});
      csession.SetOutputs({min});
      csession.Run(s);
      ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
    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)
  2. tensorflow/c/eager/c_api_test.cc

    }
    
    TEST(CAPI, Execute_MatMul_CPU_Type_Error) {
      Execute_MatMul_CPU_Type_Error(false);
    }
    TEST(CAPI, Execute_MatMul_CPU_Type_ErrorAsync) {
      Execute_MatMul_CPU_Type_Error(true);
    }
    TEST(CAPI, Execute_Min_CPU) {
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_Context* ctx = TFE_NewContext(opts, status);
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    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)
Back to top