Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Greaves (0.17 sec)

  1. tensorflow/c/eager/c_api_unified_experimental.cc

    using tensorflow::tracing::TracingTensorHandle;
    
    void TF_SetTracingImplementation(const char* name, TF_Status* s) {
      tsl::Set_TF_Status_from_Status(s, SetDefaultTracingEngine(name));
    }
    
    // Creates a new TensorFlow function, it is an execution context attached to a
    // given tracing context.
    TF_ExecutionContext* TF_CreateFunction(const char* fn_name, TF_Status* s) {
      return wrap(CreateTracingExecutionContext(fn_name, s));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

              "and will trigger an error in the future. Either don't modify "
              "nodes after running them or create a new session.");
        }
      }
    }
    
    namespace {
    
    // Helper method that creates a shape handle for a shape described by dims.
    tensorflow::shape_inference::ShapeHandle ShapeHandleFromDims(
        tensorflow::shape_inference::InferenceContext* ic, int num_dims,
        const int64_t* dims) {
    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)
  3. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

    }
    
    // Passed to `TF_NewTensor` to indicate how an array of floats should be
    // deleted.
    static void FloatDeallocator(void* data, size_t, void* arg) {
      delete[] static_cast<float*>(data);
    }
    
    // Creates a TFE_TensorHandle with value `v`.
    TensorHandlePtr FloatTensorHandle(float v, TF_Status* status) {
      const int num_bytes = sizeof(float);
      float* values = new float[1];
      values[0] = v;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jun 15 15:44:44 GMT 2021
    - 12.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_distributed_test.cc

    bool GraphErrorInjectionPass::enabled_ = false;
    
    // Test to ensure that a registered graph optimization pass is only executed
    // once (i.e., on the main function side) in running distributed functions.
    // This test creates a cluster with two workers, create a variable on the
    // second worker, and run a distributed function (VariableAddFunction) whose ops
    // span the local and remote workers. If the graph optimization pass is executed
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

    namespace tensorflow {
    namespace {
    
    using ::tensorflow::error::Code;
    
    // As we need to test multiple URI schemes we need a parameterized test.
    // Furthermore, since each test creates and deletes files, we will use the same
    // fixture to create new directories in `SetUp`. Each directory will reside in
    // `::testing::TempDir()`, will use a RNG component and the test name. This
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/gradients/math_grad.cc

        // Calculate conjugate of X
        std::string name = "Conj_Log1p_Grad_X";
        TF_RETURN_IF_ERROR(SafeConj(ctx, X, &temp_output, name.c_str()));
    
        AbstractTensorHandlePtr Conj_X(temp_output);
    
        // Creates Ones
        name = "OnesLike_Log1p_Grad_X";
        TF_RETURN_IF_ERROR(OnesLike(ctx, Conj_X.get(), &temp_output, name.c_str()));
    
        AbstractTensorHandlePtr Ones_X(temp_output);
    
        name = "Add_Log1p_Grad_X";
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 15.2K bytes
    - Viewed (0)
Back to top