Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 155 for Dtype (0.17 sec)

  1. tensorflow/c/eager/dlpack.cc

      owner->reference.Unref();
      delete owner;
    }
    
    // Converts TF_DATAType to DLPack data type.
    DLDataType GetDlDataType(TF_DataType data_type, TF_Status* status) {
      DLDataType dtype;
      dtype.lanes = 1;
      dtype.bits = TF_DataTypeSize(data_type) * 8;
      switch (data_type) {
        case TF_DataType::TF_BOOL:
          dtype.code = DLDataTypeCode::kDLBool;
          break;
        case TF_DataType::TF_HALF:
        case TF_DataType::TF_FLOAT:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/lite/tests/debuginfo/v1_1.0_224_frozen.wrong_attr.line.part.pbtxt

              size: 3
            }
          }
        }
      }
    }
    node {
      name: "MobilenetV1/Conv2d_0/weights"
      op: "Const"
      attr {
        key: "dtype"
        value {
          type: DT_FLOAT
        }
      }
      attr {
        key: "value"
        value {
          tensor {
            dtype: DT_FLOAT
            tensor_shape {
              dim {
                size: 3
              }
              dim {
                size: 3
              }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 27 18:59:05 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/math_grad.cc

      auto dtype = input->DataType();
      if (DataTypeIsFloating(BaseType(dtype)) ||
          DataTypeIsInteger(BaseType(dtype))) {
        return tensorflow::ops::Identity(ctx, input, output, name);
      } else if (!DataTypeIsComplex(BaseType(dtype)) &&
                 BaseType(dtype) != DT_VARIANT) {
        return errors::InvalidArgument(
            "Expected numeric or variant tensor, got dtype ", dtype);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top