Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,398 for TensorT (0.21 sec)

  1. tensorflow/c/experimental/saved_model/core/test_utils.h

    // Note: The caller must ensure to check that the dtypes and sizes of the
    // underlying buffers are the same before calling this.
    // dtype must be any integer dtype, float, or double.
    void CheckBufferDataIsEqual(DataType dtype, int64_t num_elements, void* a,
                                void* b);
    
    // Converts a TensorHandle to a Tensor, and dies if unsuccessful. This should
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 3.5K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/saved_model/core/constant_loading_test.cc

    #include "tensorflow/c/experimental/saved_model/core/test_utils.h"
    #include "tensorflow/core/common_runtime/device_mgr.h"
    #include "tensorflow/core/common_runtime/eager/context.h"
    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/framework/tensor.pb.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/framework/types.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_restore_op.cc

        // op is used to retrieve the tensor values of each variable. See
        // `InitializeVariablesInSessionInitializer` for further details.
        const auto loc = NameLoc::get(StringAttr::get(
            var_handle_op.getContext(), var_handle_op.getSharedName()));
        var_handle_op->setLoc(loc);
    
        // Ex) If VarHandleOp's type is tensor<!tf_type.resource<tensor<1xf32>>>,
        // then tensor<1xf32> is the subtype.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 12 06:02:20 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. tensorflow/c/ops.h

    // Sets the allows_uninitialized_input property of the operation built by this
    // builder.
    //
    // By default, all inputs to an Op must be initialized Tensors. Ops that may
    // initialize tensors for the first time should set this field to true, to allow
    // the Op to take an uninitialized Tensor as input.
    TF_CAPI_EXPORT extern void TF_OpDefinitionBuilderSetAllowsUninitializedInput(
        TF_OpDefinitionBuilder* builder, bool allows_uninitialized_input);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/device_compilation_cluster_signature.h

      string name;
    
      // List of args (either as a TensorTypeAndShape or as a Tensor value)
      // for compile-time constant arguments to the compilation, ordered by
      // argument number. Tensors must be in host memory.
      using TensorTypeAndShape =
          std::pair<DataType, absl::InlinedVector<int64_t, 4>>;
      absl::InlinedVector<std::variant<Tensor, TensorTypeAndShape>, 8> args;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/quantization.mlir

      %1 = "tfl.quantize"(%arg0) {qtype = tensor<1x224x224x3x!quant.uniform<u8:f32, 7.812500e-03:128>>} : (tensor<1x224x224x3xf32>) -> tensor<1x224x224x3x!quant.uniform<u8:f32, 7.812500e-03:128>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 11.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/lstm.mlir

      func.return %24 : tensor<1x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:55:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/lstm_asym_attr.mlir

      func.return %24 : tensor<1x4xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:55:51 UTC 2023
    - 10.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/optimize_op_order.cc

        auto get_num_elements = [](RankedTensorType tensor) {
          int num_elements = 1;
          for (int i = 0; i < tensor.getRank(); ++i) {
            // Assume dynamic dim size as the dim size one.
            if (!tensor.isDynamicDim(i)) {
              num_elements *= tensor.getDimSize(i);
            }
          }
          return num_elements;
        };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/split_merged_operands.cc

    // been converted to constants, all the assign ops are gone, etc.). However,
    // TFLite has these variable tensors semantics. So the variable mapping from TF
    // to TFLite is actually broken here, we sort of hard-code the variable tensors
    // based on the actual ops using them, such as unidirectional_sequence_lstm.
    //
    // MLIRConverter also benefits from lots of typical compiler optimization like
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top