Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 513 for Dtype (0.18 sec)

  1. tensorflow/c/c_api_experimental.cc

    }
    
    TFE_TensorHandle* TFE_NewTensorHandleFromScalar(TF_DataType data_type,
                                                    void* data, size_t len,
                                                    TF_Status* status) {
      auto dtype = static_cast<tensorflow::DataType>(data_type);
      DCHECK(tensorflow::DataTypeCanUseMemcpy(dtype));
    
      tensorflow::Tensor tensor(dtype, tensorflow::TensorShape({}));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

        for (const auto& p : *shapes_and_types) {
          auto* out_shape_and_type = handle_data.add_shape_and_type();
          ic->ShapeHandleToProto(p.shape, out_shape_and_type->mutable_shape());
          out_shape_and_type->set_dtype(p.dtype);
          *out_shape_and_type->mutable_type() = p.type;
        }
      }
      string str_data;
      handle_data.SerializeToString(&str_data);
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.cc

      }
    
      tensorflow::AbstractTensorInterface* t =
          tensorflow::unwrap(ctx)->CreateTensor(
              static_cast<tensorflow::DataType>(dtype), dimvec);
    
      if (t == nullptr) {
        status->status =
            tensorflow::errors::InvalidArgument("Unsupported dtype: ", dtype);
        return nullptr;
      }
    
      return new TF_Tensor{t};
    }
    
    TFE_TensorHandle* TFE_NewTensorHandleFromTensor(TFE_Context* ctx, TF_Tensor* t,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  4. RELEASE.md

            the layer's dtype. If you had a model that used `float64`, it will
            probably silently use `float32` in TensorFlow2, and a warning will be
            issued that starts with Layer "layer-name" is casting an input tensor
            from dtype float64 to the layer's dtype of float32. To fix, either set
            the default dtype to float64 with
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  5. tensorflow/c/c_api_test.cc

      TF_OperationDescription* init(string type) {
        // Construct op_name to match the name used by REGISTER_OP in the
        // ATTR_TEST_REGISTER calls above.
        string op_name = "CApiAttributesTestOp";
        if (type.find("list(") == 0) {
          op_name += "List";
          type = type.replace(0, 5, "");
          type = type.replace(type.size() - 1, 1, "");
        }
        op_name += type;
        return TF_NewOperation(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  6. cmd/signature-v4.go

    }
    
    // getSigningKey hmac seed to calculate final signature.
    func getSigningKey(secretKey string, t time.Time, region string, stype serviceType) []byte {
    	date := sumHMAC([]byte("AWS4"+secretKey), []byte(t.Format(yyyymmdd)))
    	regionBytes := sumHMAC(date, []byte(region))
    	service := sumHMAC(regionBytes, []byte(stype))
    	signingKey := sumHMAC(service, []byte("aws4_request"))
    	return signingKey
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  7. cmd/generic-handlers.go

    // guessIsMetricsReq - returns true if incoming request looks
    // like metrics request
    func guessIsMetricsReq(req *http.Request) bool {
    	if req == nil {
    		return false
    	}
    	aType := getRequestAuthType(req)
    	return (aType == authTypeAnonymous || aType == authTypeJWT) &&
    		req.URL.Path == minioReservedBucketPath+prometheusMetricsPathLegacy ||
    		req.URL.Path == minioReservedBucketPath+prometheusMetricsV2ClusterPath ||
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 01:08:52 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    				MetricV2{
    					Description: MetricDescription{
    						Namespace: bucketMetricNamespace,
    						Subsystem: "batch",
    						Name:      MetricName(jtype + "_objects"),
    						Help:      "Get successfully completed batch job " + jtype + "objects",
    						Type:      counterMetric,
    					},
    					Value:          objects,
    					VariableLabels: map[string]string{"bucket": bucket, "jobId": mj.JobID},
    				},
    				MetricV2{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Types.java

            CURRENT = JAVA6;
          }
        }
    
        abstract Type newArrayType(Type componentType);
    
        abstract Type usedInGenericType(Type type);
    
        final ImmutableList<Type> usedInGenericType(Type[] types) {
          ImmutableList.Builder<Type> builder = ImmutableList.builder();
          for (Type type : types) {
            builder.add(usedInGenericType(type));
          }
          return builder.build();
        }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. tests/test_security_oauth2.py

                                "type": "array",
                                "items": {
                                    "anyOf": [{"type": "string"}, {"type": "integer"}]
                                },
                            },
                            "msg": {"title": "Message", "type": "string"},
                            "type": {"title": "Error Type", "type": "string"},
                        },
                    },
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
Back to top