Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TFE_ContextRemoveFunction (0.22 sec)

  1. tensorflow/c/eager/c_api.h

    // TFE_Execute it or TFE_Execute any TFE_Op which has it as an attribute or any
    // other function which calls it as an attribute.
    TF_CAPI_EXPORT extern void TFE_ContextRemoveFunction(TFE_Context* ctx,
                                                         const char* name,
                                                         TF_Status* status);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_distributed_test.cc

      TFE_Executor* executor = TFE_ContextGetExecutorForThread(ctx);
      TFE_ExecutorWaitForAllPendingNodes(executor, status);
      ASSERT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      TFE_DeleteExecutor(executor);
      TFE_ContextRemoveFunction(ctx, "AddVariablesFunction", status);
      TFE_DeleteContext(ctx);
    
      TF_DeleteStatus(status);
    
      // TODO(b/136478427): Figure out how to correctly shut the server down.
      worker_server1.release();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental_test.cc

        TFE_DeleteExecutor(executor);
        TFE_DeleteExecutor(old_executor);
        TFE_DeleteTensorHandle(h);
        TF_DeleteTensor(r);
        TFE_DeleteTensorHandle(result[0]);
      }
      TFE_ContextRemoveFunction(ctx, "ident", status);
      ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
      TFE_DeleteContext(ctx);
      ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
      TF_DeleteStatus(status);
    }
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test.cc

        TF_DeleteTensor(t);
        EXPECT_EQ(7, product[0]);
        EXPECT_EQ(10, product[1]);
        EXPECT_EQ(15, product[2]);
        EXPECT_EQ(22, product[3]);
      }
      TFE_ContextRemoveFunction(ctx, "MatMulFunction", status);
      ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status);
      TFE_DeleteContext(ctx);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.cc

        return nullptr;
      }
    
      TF_Function* result = new TF_Function();
      record->Ref();
      result->record = record.get();
      return result;
    }
    
    void TFE_ContextRemoveFunction(TFE_Context* ctx, const char* name,
                                   TF_Status* status) {
      status->status = tensorflow::unwrap(ctx)->RemoveFunction(name);
    }
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 43.9K bytes
    - Viewed (0)
Back to top