Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 1,398 for TensorT (0.11 sec)

  1. tensorflow/compiler/jit/xla_device_context.cc

      // pointer. We can return an empty object and ignore num_bytes here because we
      // have control over all of the uses of this device tensor, and can lazily
      // allocate memory when used. This allows us to also know the shape of the
      // allocated Tensor, which is useful if the device's tensor representation
      // differs from the host.
      return XlaTensor::ToOpaquePointer(new XlaTensor());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/exported_model.proto

      // TF2 models.
      map<string, string> function_aliases = 6;
    
      // Holds information about the asset files used for the model. It essentially
      // associates asset file names with the tensors to which the asset file names
      // should be fed.
      repeated AssetFileDef asset_file_defs = 8;
    
      // SaverDef including the information required for saving and restoring
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 03 06:12:59 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/c/c_test_util.h

    TF_Tensor* BoolTensor(int32_t v);
    
    // Create a tensor with values of type TF_INT8 provided by `values`.
    TF_Tensor* Int8Tensor(const int64_t* dims, int num_dims, const char* values);
    
    // Create a tensor with values of type TF_INT32 provided by `values`.
    TF_Tensor* Int32Tensor(const int64_t* dims, int num_dims,
                           const int32_t* values);
    
    // Create 1 dimensional tensor with values from `values`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 09 01:06:53 UTC 2018
    - 6K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_unified_experimental_internal.h

      }
    };
    
    // An abstract operation describes an operation by its type, name, and
    // attributes. It can be "executed" by the context with some input tensors.
    // It is allowed to reusing the same abstract operation for multiple execution
    // on a given context, with the same or different input tensors.
    class TracingOperation : public AbstractOperation {
     protected:
      explicit TracingOperation(AbstractOperationKind kind)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 13 22:20:40 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/utils/tftext_utils.cc

    }
    
    LogicalResult VerifyWhitespaceTokenizer(func::FuncOp func) {
      // In the case of input tensor with 0 rank.
      // Whitespace tokenizer generates 1 output:
      // * String tensor for tokens.
      //
      // In the case of 1-D input tensor,
      // Whitespace tokenizer generates 2 outputs to make up a ragged tensor:
      // * 1st output is the value of ragged tensor;
      // * 2nd output is the offset.
      //
      // In the case of batched input tesnor,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/transforms/cost_model.h

    float GetCostForFunc(func::FuncOp* func, const std::string& hardware);
    
    // Get the transfer cost given from & to hardware info.
    // We will only calculate for the "necessary" tensor transferred.
    // from_graph & to_graph are used to compute the "necessary" tensors.
    //     from_graph
    //    /    \   \
    //  out1   out2  out3
    //           \   /
    //           to_graph
    // So only out2 & out3 are counted.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 19 00:13:50 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  7. tensorflow/c/tf_datatype.h

    // TF_DataType holds the type for a scalar value.  E.g., one slot in a tensor.
    // The enum values here are identical to corresponding values in types.proto.
    typedef enum TF_DataType {
      TF_FLOAT = 1,
      TF_DOUBLE = 2,
      TF_INT32 = 3,  // Int32 tensors are always in 'host' memory.
      TF_UINT8 = 4,
      TF_INT16 = 5,
      TF_INT8 = 6,
      TF_STRING = 7,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 08 20:13:32 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

    TFR_BUILTINS = {
        '_tfr_quant_act_range': (TFRTypes.TENSOR, TFRTypes.TENSOR),
        '_tfr_quant_rescale': TFRTypes.TENSOR,
        '_tfr_quant_raw_data': lambda input_type: input_type,
        '_tfr_quant_qparam': (TFRTypes.TENSOR, TFRTypes.TENSOR),
        '_tfr_quant_scale_factor': TFRTypes.TENSOR,
    }
    
    
    class TFRTypeResolver(type_inference.Resolver):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

        }
      }
    
      // Verify the argument order: tensors, tensor list, attributes; and also
      // verify there is at most one tensor list argument.
      if (first_attr != -1 &&
          (first_attr < last_tensor_list || first_attr < last_tensor)) {
        func.emitError(
            "tfr.tensor/tfr.tensor_list argument should be before non tensor "
            "arguments.");
        return failure();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  10. tensorflow/cc/tools/freeze_saved_model.cc

    namespace tensorflow {
    
    namespace {
    
    // Gets tensor names from tensor_info and inserts them into the set of tensor
    // names.
    void GetTensorNamesFromTensorInfo(const TensorInfo& tensor_info,
                                      std::unordered_set<string>* tensor_names) {
      if (tensor_info.has_coo_sparse()) {
        // If the tensor is sparse we have to add all three tensors of the sparse
        // representations.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 11 08:05:36 UTC 2023
    - 11.9K bytes
    - Viewed (0)
Back to top