Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,053 for TensorT (0.38 sec)

  1. tensorflow/compiler/mlir/lite/tests/end2end/quant_stats.pbtxt

    # MLIR-NEXT:    return %[[add]] : tensor<4x!quant.uniform<u8:f32, 0.0078431372549019607:128>>
    # MLIR-NEXT:  }
    
    # CHECK-LABEL: {
    # CHECK-NEXT:  version: 3,
    # CHECK-NEXT:  operator_codes: [ {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_device_context.h

      void CopyCPUTensorToDevice(const Tensor* cpu_tensor, Device* device,
                                 Tensor* device_tensor, StatusCallback done,
                                 bool sync_dst_compute) const override;
      void CopyDeviceTensorToCPU(const Tensor* device_tensor,
                                 absl::string_view tensor_name, Device* device,
                                 Tensor* cpu_tensor, StatusCallback done) override;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_experimental.h

    // drop below the capacity due to dequeuing.
    //
    // Tensors are dequeued via the corresponding TF dequeue op.
    // TODO(hongm): Add support for `timeout_ms`.
    TF_CAPI_EXPORT extern void TF_EnqueueNamedTensor(TF_Session* session,
                                                     int tensor_id,
                                                     TF_Tensor* tensor,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/saved_model/core/test_utils.cc

          << "Tensor creation failed for tensor of dtype: "
          << DataTypeString(dtype);
      CHECK_EQ(tensor->Type(), dtype);
      for (int i = 0; i < shape.size(); ++i) {
        CHECK_EQ(tensor->Dim(i), shape[i]);
      }
      FillNumericTensorBuffer(tensor->Type(), tensor->NumElements(), tensor->Data(),
                              value);
      ImmediateTensorHandlePtr handle(ctx->CreateLocalHandle(tensor.get()));
      CHECK_NE(handle.get(), nullptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 08 20:13:32 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

            ) from ex
    
    
    def _convert_values_to_tf_tensors(
        sample: rd.RepresentativeSample,
    ) -> Mapping[str, core.Tensor]:
      """Converts TensorLike values of `sample` to Tensors.
    
      Creates a copy of `sample`, where each value is converted to Tensors
      unless it is already a Tensor.
      The values are not converted in-place (i.e. `sample` is not mutated).
    
      Args:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter.h

      // Tensors: Vector of tensors that back the TensorValue inputs
      // Inputs: Vector of inputs that are backed by tensors.
      mlir::LogicalResult PrepareKernelInputs(
          const llvm::SmallDenseSet<int>& required_consts,
          std::vector<tensorflow::XlaExpression>& expressions,
          std::vector<tensorflow::Tensor>& tensors,
          std::vector<tensorflow::TensorValue>& inputs);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top