Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 68 for DataType (0.18 sec)

  1. tensorflow/c/experimental/gradients/tape/tape_operation.h

      Status SetAttrFloat(const char* attr_name, float value) override;
      Status SetAttrBool(const char* attr_name, bool value) override;
      Status SetAttrType(const char* attr_name, DataType value) override;
      Status SetAttrShape(const char* attr_name, const int64_t* dims,
                          const int num_dims) override;
      Status SetAttrFunction(const char* attr_name,
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 23 23:12:39 GMT 2020
    - 3.7K bytes
    - Viewed (1)
  2. tensorflow/c/eager/abstract_operation.h

      virtual Status SetAttrFloat(const char* attr_name, float value) = 0;
      virtual Status SetAttrBool(const char* attr_name, bool value) = 0;
      virtual Status SetAttrType(const char* attr_name, DataType value) = 0;
      virtual Status SetAttrShape(const char* attr_name, const int64_t* dims,
                                  const int num_dims) = 0;
      virtual Status SetAttrShape(const char* attr_name,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental_graph.cc

     public:
      explicit GraphTensor(TF_Output output, TF_Graph* graph)
          : TracingTensorHandle(kGraph), output_(output), graph_(graph) {}
    
      tensorflow::DataType DataType() const override {
        return static_cast<tensorflow::DataType>(TF_OperationOutputType(output_));
      }
    
      tensorflow::Status Shape(
          tensorflow::PartialTensorShape* shape) const override {
        DCHECK(shape != nullptr);
        TF_Status status;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  4. schema/schema.go

    			} else {
    				schema.Fields = append(schema.Fields, field)
    			}
    		}
    	}
    
    	for _, field := range schema.Fields {
    		if field.DBName == "" && field.DataType != "" {
    			field.DBName = namer.ColumnName(schema.Table, field.Name)
    		}
    
    		bindName := field.BindName()
    		if field.DBName != "" {
    			// nonexistence or shortest path or first appear prioritized if has permission
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Oct 10 06:50:29 GMT 2023
    - 13.7K bytes
    - Viewed (0)
  5. tensorflow/c/checkpoint_reader.cc

        TF_Status* out_status) const {
      Status status;
      if (reader_ != nullptr) {
        status = reader_->GetTensor(name, out_tensor);
      } else {
        tensorflow::DataType dtype;
        tensorflow::TensorShape shape;
        status = v2_reader_->LookupDtypeAndShape(name, &dtype, &shape);
        if (status.ok()) {
          out_tensor->reset(new Tensor(dtype, shape));
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_test.cc

      EXPECT_EQ(TF_FLOAT, static_cast<TF_DataType>(tensorflow::DT_FLOAT));
      EXPECT_EQ(TF_DOUBLE, static_cast<TF_DataType>(tensorflow::DT_DOUBLE));
      EXPECT_EQ(TF_INT32, static_cast<TF_DataType>(tensorflow::DT_INT32));
      EXPECT_EQ(TF_UINT8, static_cast<TF_DataType>(tensorflow::DT_UINT8));
      EXPECT_EQ(TF_INT16, static_cast<TF_DataType>(tensorflow::DT_INT16));
      EXPECT_EQ(TF_INT8, static_cast<TF_DataType>(tensorflow::DT_INT8));
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  7. tests/migrate_test.go

    						columnType)
    				}
    			case "name":
    				dataType := DB.Dialector.DataTypeOf(stmt.Schema.LookUpField(columnType.Name()))
    				if !strings.Contains(strings.ToUpper(dataType), strings.ToUpper(columnType.DatabaseTypeName())) {
    					t.Fatalf("column name type should be correct, name: %v, length: %v, expects: %v, column: %#v",
    						columnType.Name(), columnType.DatabaseTypeName(), dataType, columnType)
    				}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  8. tensorflow/c/eager/abstract_tensor_handle.h

      explicit AbstractTensorHandle(AbstractTensorHandleKind kind) : kind_(kind) {}
      ~AbstractTensorHandle() override {}
    
     public:
      // Returns tensor dtype.
      virtual tensorflow::DataType DataType() const = 0;
    
      // Returns the status of the tensor handle. If it is a tfrt::TensorHandle,
      // the tensor handle can be an error and return non-OK status.
      virtual tensorflow::Status TensorHandleStatus() const;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 03 00:30:36 GMT 2023
    - 3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/tape.h

      }
    
      // Returns whether any tensor in a list of tensors is being watched and has
      // a trainable dtype.
      bool ShouldRecord(absl::Span<const int64_t> tensor_ids,
                        absl::Span<const tensorflow::DataType> dtypes) const;
    
      // Adds this tensor to the list of watched tensors.
      //
      // This is a no-op if the tensor is already being watched either from an
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  10. tensorflow/c/eager/c_api.cc

          "TFE_DeleteTensorHandle", tensorflow::profiler::TraceMeLevel::kInfo);
      if (h) {
        tensorflow::unwrap(h)->Unref();
      }
    }
    
    TF_DataType TFE_TensorHandleDataType(TFE_TensorHandle* h) {
      return static_cast<TF_DataType>(tensorflow::unwrap(h)->DataType());
    }
    
    int TFE_TensorHandleNumDims(TFE_TensorHandle* h, TF_Status* status) {
      if (h == nullptr) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
Back to top