Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for TF_Tensor (0.1 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

      }];
    
      let arguments = (ins
        TF_Tensor:$cond,
        Variadic<TF_Tensor>:$input,
    
        FlatSymbolRefAttr:$then_branch,
        FlatSymbolRefAttr:$else_branch,
    
        // Used to map StatelessIf and If op defined in TensorFlow to a common op.
        BoolAttr:$is_stateless
      );
    
      let results = (outs
        Variadic<TF_Tensor>:$output
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  2. tensorflow/c/kernels_test.cc

    // Validates that the tensor has shape and type corresponding to
    // dims and dtype.
    void validate_tensor(TF_Tensor* tensor, int64_t* dims, int64_t num_dims,
                         TF_DataType dtype);
    
    // Copies data of length tensor_size_bytes from values to tensor.
    template <typename T>
    void set_tensor_data(TF_Tensor* tensor, T* values, size_t tensor_size_bytes,
                         TF_OpKernelContext* ctx);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

        ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
        TF_Tensor* expected_out0 = expected_csession->output_tensor(0);
        TF_Tensor* expected_out1 = expected_csession->output_tensor(1);
    
        CompareTensors(out0, expected_out0);
        CompareTensors(out1, expected_out1);
      }
    
      void CompareTensors(TF_Tensor* a, TF_Tensor* b) {
        float* a_data = static_cast<float*>(TF_TensorData(a));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test.cc

    #include "tensorflow/c/eager/tfe_op_internal.h"
    #include "tensorflow/c/eager/tfe_tensorhandle_internal.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/core/common_runtime/eager/eager_operation.h"
    #include "tensorflow/core/common_runtime/eager/tensor_handle.h"
    #include "tensorflow/core/distributed_runtime/rpc/grpc_server_lib.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.h

                                                         TF_Tensor** value,
                                                         TF_Status* status);
    
    // Fills in `values` with the TF_Tensor values of the attribute `attr_name` of
    // `oper`. `values` must point to an array of TF_Tensor* of length at least
    // `max_values` (ideally set to TF_AttrMetadata.list_size from
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_function_test.cc

      ~CApiFunctionTest() override {
        TF_DeleteFunction(func_);
        TF_DeleteGraph(host_graph_);
        TF_DeleteGraph(func_graph_);
        TF_DeleteStatus(s_);
      }
    
      void Run(const std::vector<std::pair<TF_Operation*, TF_Tensor*>>& inputs,
               TF_Operation* output, int32_t expected_result) {
        Run(inputs, {{output, 0}}, {expected_result});
      }
    
      // Run the host graph, which now contains a function and check that
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
Back to top