Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for GET (0.18 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

          TFE_TensorHandleResolve(handle, status.get()), TF_DeleteTensor);
      ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
      ASSERT_EQ(TF_TensorType(actual_value.get()),
                static_cast<TF_DataType>(DataTypeToEnum<value_type>().value));
      EXPECT_EQ(expected_value,
                *static_cast<value_type*>(TF_TensorData(actual_value.get())));
    }
    
    template <std::size_t num_devices>
    void RegisterParallelDevice(
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib.h

        if (TF_GetCode(status) != TF_OK) return nullptr;
        TFE_OpSetDevice(const_op.get(), underlying_devices_[device_index].c_str(),
                        status);
        if (TF_GetCode(status) != TF_OK) return nullptr;
        TFE_OpSetAttrTensor(const_op.get(), "value", tensor.get(), status);
        if (TF_GetCode(status) != TF_OK) return nullptr;
        TFE_OpSetAttrType(const_op.get(), "dtype", datatype_enum);
        TFE_TensorHandle* device_handle;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_test_util.h

                                                      int num_dims);
    
    // Get a Matrix TensorHandle with given float values and dimensions
    TFE_TensorHandle* TestTensorHandleWithDimsFloat(TFE_Context* ctx, float data[],
                                                    int64_t dims[], int num_dims);
    
    // Get a Matrix TensorHandle with given int values and dimensions
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  4. tensorflow/c/c_api.h

                                                     int max_inputs);
    
    // Get the number of current consumers of a specific output of an
    // operation.  Note that this number can change when new operations
    // are added to the graph.
    TF_CAPI_EXPORT extern int TF_OperationOutputNumConsumers(TF_Output oper_out);
    
    // Get list of all current consumers of a specific output of an
    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)
  5. tensorflow/c/env.h

    // Otherwise returns nullptr and set error status.
    TF_CAPI_EXPORT extern void* TF_LoadSharedLibrary(const char* library_filename,
                                                     TF_Status* status);
    
    // \brief Get a pointer to a symbol from a dynamic library.
    //
    // "handle" should be a pointer returned from a previous call to
    // TF_LoadLibraryFromEnv. On success, place OK in status and return a pointer to
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  6. tensorflow/c/c_test.c

    // A create function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // Check if the remote task is alive.
      virtual Status CheckRemoteAlive(const std::string& remote_task_name,
                                      bool* is_alive) = 0;
    
      // Get pointer to the coordination service agent instance.
      virtual tsl::CoordinationServiceAgent* GetCoordinationServiceAgent() = 0;
    };
    }  // namespace tensorflow
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api.h

                                                        const char* attr_name,
                                                        unsigned char* is_list,
                                                        TF_Status* status);
    // Get an attribute type given an op name; a fusion of TFE_NewOp and
    // TFE_OpGetAttrType for use from Python without the overhead of the individual
    // calls and memory management of TFE_Op.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  9. tensorflow/c/experimental/grappler/grappler.h

        TF_Bool include_output_tensor_values, TF_Status* s);
    
    // Get the size of input OpInfo::TensorProperties given node name.
    TF_CAPI_EXPORT extern void TF_GetInputPropertiesListSize(
        TF_GraphProperties* graph_properties, const char* name, int* num_values,
        TF_Status* status);
    
    // Get the size of output OpInfo::TensorProperties given node name.
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_experimental.h

        TF_CheckpointReader* reader, const char* name);
    // Get the variable name at the given index
    TF_CAPI_EXPORT extern const char* TF_CheckpointReaderGetVariable(
        TF_CheckpointReader* reader, int index);
    // Get the number of variable in the checkpoint
    TF_CAPI_EXPORT extern int TF_CheckpointReaderSize(TF_CheckpointReader* reader);
    // Get the DataType of a variable
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
Back to top