<code>optional .tensorflow.CollectionDef.FloatList float_list = 4;</code>
323015
public org.tensorflow.framework.CollectionDef.FloatList getFloatList() {
    if (kindCase_ == 4) {
       return (org.tensorflow.framework.CollectionDef.FloatList) kind_;
    }
    return org.tensorflow.framework.CollectionDef.FloatList.getDefaultInstance();
  }
296250
def _force_float(v):
    
    try:
        return float(v)
    except Exception as exc:
        return float('nan')
        logger.warning('Failed to convert {} to float with {} error. Using 0 instead.'.format(v, exc))
626830
public static float[] copyOf(float[] floatArray) {

    	float[] copy = new float[floatArray.length];
        System.arraycopy(floatArray, 0, copy, 0, floatArray.length);
        return copy;
    }
326428
public INDArray ndArrayFromTensor(TF_Tensor tensor) {
        int rank = TF_NumDims(tensor);

        int[] ndShape;
        if (rank == 0) {
            // scalar
            ndShape = new int[] { 1 };
        } else {
            ndShape = new int[rank];
            for (int i = 0; i < ndShape.length; i++) {
                ndShape[i] = (int) TF_Dim(tensor,i);
            }
        }

        int tfType = TF_TensorType(tensor);
        DataType nd4jType = typeFor(tfType);

        int length = ArrayUtil.prod(ndShape);
        INDArray array;
        if (nd4jType == DataType.UTF8) {
            String[] strings = new String[length];
            BytePointer data = new BytePointer(TF_TensorData(tensor)).capacity(TF_TensorByteSize(tensor));
            BytePointer str = new BytePointer((Pointer)null);
            SizeTPointer size = new SizeTPointer(1);
            TF_Status status = TF_NewStatus();
            for (int i = 0; i < length; i++) {
                long offset = data.position(8 * i).getLong();
                TF_StringDecode(data.position(8 * length + offset), data.capacity() - data.position(), str, size, status);
                if (TF_GetCode(status) != TF_OK) {
                    throw new IllegalStateException("ERROR: Unable to convert tensor " + TF_Message(status).getString());
                }
                strings[i] = str.position(0).capacity(size.get()).getString();
            }
            TF_DeleteStatus(status);
            array = Nd4j.create(strings);
        } else {
            Pointer pointer = TF_TensorData(tensor).capacity(length);
            Indexer indexer = indexerForType(nd4jType,pointer);
            DataBuffer d = Nd4j.createBuffer(indexer.pointer(),nd4jType,length,indexer);
            array = Nd4j.create(d,ndShape);
        }
        Nd4j.getAffinityManager().tagLocation(array, AffinityManager.Location.HOST);
        return array;
    }
55840
public void setData(TFloatList list) {
        this.buffer = CausticUtil.createByteBuffer(list.size() * DataType.FLOAT.getByteSize());
        final TFloatIterator iterator = list.iterator();
        while (iterator.hasNext()) {
            buffer.putFloat(iterator.next());
        }
    }
542999
public void add(FloatArrayList values) {
        ensureCapacity(size + values.size);
        for (int i=0; i<values.size; i++) {
            this.add(values.elements[i]);
        }
    }
1296745
def _float_generator(descriptor, bitwidth):
    ''
    return gen.IterValueGenerator(descriptor.name, values.get_floats(bitwidth))
806222
@java.lang.Deprecated
  public java.util.Map<java.lang.String, org.tensorflow.framework.CollectionDef> getCollectionDef() {
    return getCollectionDefMap();
  }
1328220
public static BasicVector fromCollection(Collection<? extends Number> list) {
        //TODO goto lambdas
        double[] self = new double[list.size()];
        int i = 0;
        for (Number x : list) {
            self[i] = x.doubleValue();
            i++;
        }
        return fromArray(self);
    }
1112959
public org.tensorflow.framework.CollectionDef.Int64ListOrBuilder getInt64ListOrBuilder() {
    if (kindCase_ == 3) {
       return (org.tensorflow.framework.CollectionDef.Int64List) kind_;
    }
    return org.tensorflow.framework.CollectionDef.Int64List.getDefaultInstance();
  }
826478
public java.util.List<? extends org.tensorflow.framework.OpDef.AttrDefOrBuilder> 
      getAttrOrBuilderList() {
    return attr_;
  }
1311310
def read_lsm_floatpairs(fh):
    """"""
    size = struct.unpack('<i', fh.read(4))[0]
    return fh.read_array('<2f8', count=size)
713253
public static float[] floatArrayCopyOf(CollectionNumber coll) {
        float[] data = new float[coll.size()];
        IteratorNumber iter = coll.iterator();
        int index = 0;
        while (iter.hasNext()) {
            data[index] = iter.nextFloat();
            index++;
        }
        return data;
    }
1247503
public java.util.List<org.tensorflow.framework.CostGraphDef.Node> getNodeList() {
    return node_;
  }
1023671
def floatSlist(value):
    
    slist = ['+', 0, 0, 0, 0]
    if value < 0:
        slist[0] = '-'
    value = abs(value)
    for i in range(1,5):
        slist[i] = math.floor(value)
        value = (value - slist[i]) * 60
    return _roundSlist(slist)
823472
def _tuple_from_list_or_tuple(bbox):
        
        if len(bbox) == 4:
            return tuple(map(float, bbox))
        if len(bbox) == 2 and all([isinstance(point, (list, tuple)) for point in bbox]):
            return BBox._tuple_from_list_or_tuple(bbox[0] + bbox[1])
        raise TypeError('Expected a valid list or tuple representation of a bbox')
1346933
public static Matrix4d[] getNcsAsMatrix4d(double[][] ncsOperMatrixList) {
		if(ncsOperMatrixList==null){
			return null;
		}
		int numMats = ncsOperMatrixList.length;
		if(numMats==0){
			return null;
		}
		if(numMats==1 && ncsOperMatrixList[0].length==0){
			return null;
		}
		Matrix4d[] outList = new Matrix4d[numMats];
		for(int i=0; i<numMats; i++){
			outList[i] = new Matrix4d(ncsOperMatrixList[i]);
		}
		return outList;
	}