Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 101 for Dtype (0.04 sec)

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

            }
          }
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/weights"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_FLOAT
            tensor_shape {
              dim {
                size: 1
              }
              dim {
                size: 1
              }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_without_identity_4bit.pbtxt

            }
          }
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/weights"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_FLOAT
            tensor_shape {
              dim {
                size: 1
              }
              dim {
                size: 1
              }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. tensorflow/c/tf_tensor.cc

      return CreateTensor(buf, dtype, dims, num_dims, len);
    }
    
    TF_Tensor* TF_NewTensor(TF_DataType dtype, const int64_t* dims, int num_dims,
                            void* data, size_t len,
                            void (*deallocator)(void* data, size_t len, void* arg),
                            void* deallocator_arg) {
      TF_ManagedBuffer* buf = nullptr;
      if (dtype != TF_STRING && dtype != TF_RESOURCE &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel.pbtxt

            }
          }
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/weights"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_FLOAT
            tensor_shape {
              dim {
                size: 1
              }
              dim {
                size: 1
              }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

              out = math_ops.select(condition, out, ones)
            elif self.same_scale_op == 'slice':
              begin = array_ops.zeros((array_ops.rank(out)), dtype=dtypes.int32)
              size = array_ops.ones((array_ops.rank(out)), dtype=dtypes.int32)
              out = array_ops.slice(out, begin, size)
            elif self.same_scale_op == 'transpose':
              out = array_ops.transpose(out)
            else:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel_4bit.pbtxt

            }
          }
        }
      }
    }
    node {
      name: "BoxPredictor_4/ClassPredictor/weights"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_FLOAT
            tensor_shape {
              dim {
                size: 1
              }
              dim {
                size: 1
              }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

        return mlir::TF::ShapeAttr::get(type.getContext(), tensor_type.getShape());
      }
    
      // If type is not a RankedTensor or UnrankedTensor, it must be a scalar.
      // Empty TensorShape indicates a scalar.
      return mlir::TF::ShapeAttr::get(type.getContext(), ArrayRef<int64_t>());
    }
    
    absl::StatusOr<TensorSpecProto> ConvertTypeToTensorSpecProto(
        const mlir::Type& type) {
      DataType dtype;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  8. tensorflow/c/kernels_experimental.cc

        AllocatorAttributes attr;
        if (cc_input.dtype() == ::tensorflow::DT_VARIANT) {
          attr.set_on_host(true);
        }
        TF_RETURN_IF_ERROR(cc_ctx->allocate_temp(cc_input.dtype(), cc_input.shape(),
                                                 cc_out, attr));
    
        switch (cc_input.dtype()) {
          case ::tensorflow::DT_INVALID: {
            *cc_out = Tensor(::tensorflow::DT_INVALID);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/mlir_roundtrip_flags.cc

            absl::StrSplit(type, absl::ByAnyChar("()"));
        // If type has subtypes then parts[0] = type, parts[1] = subtypes,
        // parts[2] = ""
        if (parts.size() != 3 && parts.size() != 1) {
          return errors::InvalidArgument("Invalid type '", type, "'");
        } else if (parts.size() == 3) {
          // First part is the type, second is the subtype
          ArrayInfo::SubTypeInfo subtype;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/shape_inference.cc

              DataType dtype = n->output_type(0);
              AddNodeAttr("dtype", dtype, &const_def);
              TensorProto value;
              value.set_dtype(dtype);
              value.mutable_tensor_shape()->add_dim()->set_size(
                  shape_proto.dim_size());
              for (const auto& dim : shape_proto.dim()) {
                if (dtype == DT_INT32) {
                  value.add_int_val(dim.size());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 00:41:19 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top